add handling of broken ADC input