Optimized adc routine, need to determine ADC_TIMES