AVR program to use adc