I have the same problem, simple to reproduce.
reset the board, an add this code "setInterval("digitalWrite(LED1,l=!l);",200);" dump shows then:
dump() var l = false; setInterval("digitalWrite(LED1,l=!l);", 200); =undefined
after "save();" and a reboot I got this code:
dump(); var l = true; digitalWrite(A13,1); =undefined
@zone11 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.
I have the same problem, simple to reproduce.
reset the board, an add this code "setInterval("digitalWrite(LED1,l=!l);",200);"
dump shows then:
after "save();" and a reboot I got this code: