Post Created date
Thanks for the answers. Clawson, I'll give that a go. mrono, I was assuming the because ADCOutput is 16-bit that ADCH would be promoted to 16-bit for the calculation. The ADCW...
Thursday, 24 April 2008 - 13:05
AVR Noise reduction mode not cooperating
I just found another typo that was setting ADCSRA being set correctly. Indeed, the asm volatile ("sleep"::); line was all that was missing to make the above code work. Danke...
Friday, 11 April 2008 - 07:46
AVR Noise reduction mode not cooperating
Vielen Dank! I wasn't aware that I had to write the SLEEP instruction. I thought it just magically appeared when I wrote to the MCUCR register. Explains a lot really. Anyway, now...
Thursday, 10 April 2008 - 12:23