Not able to read the ADC value from the sensor in LPC1115

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Not able to read the ADC value from the sensor in LPC1115

538 Views
swamy1
Contributor I

Hello,

I am Thippeswamy H U, using LPC1115 blue board. I am having an issue with the reading ADC value. In the example ADCRead(0), I have replaced 0 with 2 i.e. I have connected my sensor to channel2. I am not able to read any values. But in the board when I vary the pot I am able to see the values form the 0-1024. Please let me know what will be the issue. And I have attached the image of my connections and the code.Please find the attachment. 

Thanks and Regards,

Thippeswamy H U

Labels (1)
0 Kudos
Reply
0 Replies