added ADC meassure routines