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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,000件の閲覧回数
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 返答(返信)