determ_adc now has a counter. This will be used to reset the signal after a certain time delay.