Brilliant!!!! That did the trick. I did the following according to the location of the saved code:
flash.erasePage((120 - 3) * 4096) flash.erasePage((120 - 2) * 4096) flash.erasePage((120 - 1) * 4096)
And now everything is back to normal. Thanks a lot!
Maybe some "eraseCode" function might be helpful. Unless it's there and I just overlooked it like the "load" function.
@stevie4711 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.
Brilliant!!!! That did the trick. I did the following according to the location of the saved code:
flash.erasePage((120 - 3) * 4096)
flash.erasePage((120 - 2) * 4096)
flash.erasePage((120 - 1) * 4096)
And now everything is back to normal. Thanks a lot!
Maybe some "eraseCode" function might be helpful. Unless it's there and I just overlooked it like the "load" function.