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
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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