Post Created date
Timer troubles (signed vs unsigned?)
You're right, Lee! I changed a few other things. I was prescaling the internal oscillator AND prescaling that by setting the CS11 bit (/8 prescale) instead of the CS10 bit (no...
Tuesday, 31 January 2006 - 22:32
Timer troubles (signed vs unsigned?)
Now its void pause(unsigned int microsec) { cli(); // mt __disable_interrupt(); // disable global interrupt TCNT1 = 0; // clear timer1 counter CLKPR = (1<<CLKPCE...
Tuesday, 31 January 2006 - 04:38
Timer troubles (signed vs unsigned?)
Thats what I thought too, but when I was using the timer at 100 us and running it through a loop 65000 times, it turned out to be like 3.25 seconds with a prescale of 8. Its a...
Tuesday, 31 January 2006 - 04:10
my project pictures :D
How did you do the physical locking of the door?
Wednesday, 6 October 2004 - 20:50
TV Sync Separator?
here is a video overlay using a PIC http://dt.prohosting.com/pic/vid...
Friday, 17 September 2004 - 20:39
Measure Bullet Speed
w2sqr wrote:I think what you are looking for can be found at; http://chrony.ca/ A search on EBAY found them for about $50 WillThat's the brand my father owns.
Tuesday, 14 September 2004 - 04:22
Measure Bullet Speed
theFloe wrote:A fast CMOS Camera or CCD Array could do the job ( i think ) But fpr this solutions i think an AVR will be to slow.No no no no! Way too fast! :D I forget how these...
Tuesday, 14 September 2004 - 04:20
gets() problems
Changing "char *string;" to "char string[8]" didn't work. Adding a \n to the end of the on and off test strings didn't help. string seems to be getting my input because it gets...
Thursday, 19 August 2004 - 01:06
Understanding how gcc compiles code
dl8dtl wrote:Keep in mind that this has been written specifically for the IAR C compiler. GCC not necessarily compiles by the exact same rules. It's always best to review the...
Wednesday, 18 August 2004 - 04:51
Avr Butterfly ATmeg169V
Check out this page for a GCC port of the demo app with JUST the LCD stuff. There is also a UART program too if you want to output to a computer. :)
Friday, 30 July 2004 - 03:41
Problem with a simple UART program
dharper wrote:Well, for one thing, sprintf works on strings which are a sequence of one or more characters terminated by a NULL. That's a lot to try and stuff in to a "char"...
Thursday, 29 July 2004 - 23:54
Problem with a simple UART program
dharper wrote:If you're expecting to see the characters you might want to convert them to ASCII first. If all you want are '0' and '1', there are a lot faster ways than sprintf...
Thursday, 29 July 2004 - 20:40

Pages