ESP-01 D1 pinMode #5973
Replies: 1 comment
-
Posted at 2018-01-16 by @MaBecker Please Share the Espruino Version Posted at 2018-01-16 by OpenSourceTeacher v1.95 Posted at 2018-01-16 by @MaBecker Ok, please share wiring too Posted at 2018-01-16 by OpenSourceTeacher It's a bare ESP-01 module in a programmer adapter. No wiring, no code. Posted at 2018-01-16 by @MaBecker digitalWrite(D1,0) Posted at 2018-01-16 by OpenSourceTeacher That command works, in that it turns on the on-board LED, but after issuing that command, the entire board is unresponsive from the IDE. Posted at 2018-01-16 by Frida Please a picture of the module. Posted at 2018-01-16 by @MaBecker Better use D0 or D2 because D1 is used as TX Posted at 2018-01-16 by OpenSourceTeacher Ah, that would completely make sense that the IDE loses connectivity, in that case. Thanks for solving the mystery! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-01-16 by OpenSourceTeacher
I'm not able to use pin D1 on my ESP8266 ESP-01 module. It's hooked up to the on-board LED, and I'd like to use it as a status indicator, but any attempts to read from or write to that pin cause Espruino to crash. All the other pins are working properly.
Is this pin unavailable since it's connected to something else internally? Am I forgetting something simple?
To reproduce the issue, simply connect to the blank ESP-01 and run
Beta Was this translation helpful? Give feedback.
All reactions