Getting data from ADC