You are reading a single comment by @MaBe and its replies.
Click here to read the full conversation.
-
var LED1 = { set : ()=> {D2.reset();}, reset : ()=>{ D2.set();} }; digitalWrite(LED1, true);
____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 2v06 (c) 2019 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate Flash map 4MB:512/512, manuf 0x20 chip 0x4016 >Uncaught Error: Invalid pin! at line 7 col 24 digitalWrite(LED1, true);
Well, the blue led on ESP8266 board works different as you figured out by yourself.
you can use this snippet to revert this