Post Created date
Serial Port - Event Driven Programming Problem
Usually there's an USART interrupt handler that puts incoming data into a small cyclic buffer. The main program loop would normally check if there's incoming data and handle it...
Monday, 14 December 2009 - 14:17
ADC and timing
I had no idea. Live and learn!
Monday, 14 December 2009 - 14:06
ADC and timing
Weird, it seems to be 48,88.. specific. What is the point of this register and how other AVR's manage without one?
Monday, 14 December 2009 - 13:51
ADC and timing
DIDR0 = (1 << ADC5D); //turn off the digital driver What is this register? Some alias for DDR(A/B/C)? I can't find anything like this in the datasheet.
Monday, 14 December 2009 - 12:40
Collaborative File Management?
I'm learning to use Hg in the meantime and I learned that while it's cool to be able to run it as a server, it's equally cool that you can export all changes from one repository...
Saturday, 12 December 2009 - 23:47
scan files with FatFs from Chan
I can't be 100% sure, but I think the version I used had no concept of "current directory". This was a couple years ago and I used the most stripped down version, too. Things...
Saturday, 12 December 2009 - 23:42
scan files with FatFs from Chan
Yes I am.
Saturday, 12 December 2009 - 19:46
Fade LED using timers only
Unless you want me to read the datasheet for you, here's a hint: find the table with BOTTOM and TOP values in each mode, check what is used as BOTTOM and TOP in the mode you chose...
Saturday, 12 December 2009 - 19:30
Fade LED using timers only
You need to setup a timer compare match interrupt and use it instead of "if (TCNT0 > cik)...".
Saturday, 12 December 2009 - 16:22
ADC and timing
Your subjectively correct reading may be a product of multiple errors =)
Saturday, 12 December 2009 - 16:20
ADC and timing
ADCSRA |= (1 << ADSC); ADC_dummy = ADC; You start conversion but you don't wait for it to complete. You should either use an ADC interrupt, or wait until (ADCSRA &...
Saturday, 12 December 2009 - 15:22
scan files with FatFs from Chan
"/" would be the root directory. Probably an empty string will work just as well.
Saturday, 12 December 2009 - 15:16

Pages