That bug is new. It does not reproduce under v69 (latest release) but it does under v70 builds (I reproduced it on http://drazzy.com/espruino/bigram/espruino_1v70_08-05_espruino_1r3_bigram_wiznet.bin - those are built from a git clone made at around 1:14 AM on the listed day)
I had no idea you could do LED1.write() before, honesly.
LED2.write(1); //works var led=LED2 led.write(1); //doesn't work
@DrAzzy 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.
That bug is new. It does not reproduce under v69 (latest release) but it does under v70 builds (I reproduced it on http://drazzy.com/espruino/bigram/espruino_1v70_08-05_espruino_1r3_bigram_wiznet.bin - those are built from a git clone made at around 1:14 AM on the listed day)
I had no idea you could do LED1.write() before, honesly.
LED2.write(1); //works
var led=LED2
led.write(1); //doesn't work