A0 is undefined #5599
Replies: 1 comment
-
|
Posted at 2015-11-26 by user59035 I also get the same problem (adc is undefined) with this code: Posted at 2015-11-26 by tve Try Posted at 2015-11-27 by user59035 Ah, that did it, thank you. Posted at 2015-11-27 by @gfwilliams @tve is there actually a separate Posted at 2015-11-27 by tve Agreed. If you could add an appropriate definition to the board file that defines an A0 pin, I would appreciate. I tried and failed. Posted at 2015-11-27 by @MaBecker @user59035 is this the board you are using ? Posted at 2016-09-29 by davem any update on this? I'm getting A0 undefined (v 1.87) thx Posted at 2016-09-29 by @MaBecker @davem - not as far as I know - use analogRead() works fine for me Posted at 2016-09-29 by DrAzzy I think analogRead() ignores the argument you pass to it on the ESP8266... there's only one pin for which analogRead() is meaningful. Posted at 2016-10-04 by Aleksandrs NodeMCU v3 + Espruino Attachments: |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-11-26 by user59035
I have an NODEMCU and installed the chrome extension for espruino - but when I try and run this code:
I get this:
What's going on?
Beta Was this translation helpful? Give feedback.
All reactions