characterizing the ADC in the micro controller