I imagine it could be an ESP8266 board, with an old version of Espruino?
Newer versions shouldn't need you to call pinMode
@DrAzzy thanks for the tip it has worked when I called the pinMode beforehand.
Hi @Gordon, it seems also newer versions need pinMode call because I have a nodeMCU ESP-12E with espruino_1v85
Ahh, ok, thanks - I need to release a new version then. There are 'nightly' builds which most people use it seems, and I think those have it fixed.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem