Hi
Without thinking about it, I created a script with
var reset=0;
in the top level. I then used save();
Once I'd done this, I obviously couldn't use reset() to clear the memory, and hard-reset reloaded the same program..
I really couldn't see how to get out of this. But I messed about for a while and eventually somehow it went away.
If there is a way to undefine a variable or clear the program memory without using reset() it would be useful to document here please :)
@mgg1010 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.
Hi
Without thinking about it, I created a script with
var reset=0;
in the top level. I then used save();
Once I'd done this, I obviously couldn't use reset() to clear the memory, and
hard-reset reloaded the same program..
I really couldn't see how to get out of this. But I messed about for a while and
eventually somehow it went away.
If there is a way to undefine a variable or clear the program memory without using
reset() it would be useful to document here please :)