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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

570 次查看
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

标签 (1)
0 项奖励
回复
0 回复数