Have you tried setting pinMode explicitly first? I had issues with this a long time back - I don't know if still a requirement, but a lot of my code for ESP8266 sets it anyway.
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.
Have you tried setting
pinMode
explicitly first? I had issues with this a long time back - I don't know if still a requirement, but a lot of my code for ESP8266 sets it anyway.