Updated main.c with untested ADC controls