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