Added inital code for ADC read