Get rid of the on init and save code- get it working on direct upload, as you might have issues with the pinmode setup.
You could swap out gpio15 for gpio9 - not sure what the nodemcu:dx pin that corresponds to..
@Wilberforce started
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.
Get rid of the on init and save code- get it working on direct upload, as you might have issues with the pinmode setup.
You could swap out gpio15 for gpio9 - not sure what the nodemcu:dx pin that corresponds to..