Changed MIN_ADC_PERIOD to 1500 as seen on the scope