added adc read function