Authored by Jake Read

xmega adc singlended no gain

lots of other missing files here, but the ADC code is all there

init_adc() starts it up, kick_adc() runs on a timer, and asks for a conversion to start. on completion that conversion fires the ISR at the bottom of the file, that starts control() loop where the actual ADC read is line 248

if I remember this correctly, it's on PB0 on the breadboardboard

main.c 8.31 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment