Polling ADC and timing working