well yes, so just reboot/powercycle it, if you had code running from flash this was all erased at the point of calling eraseAll so code inside setWatch, setInterval is suddenly hitting empty flash where it expected javascript program to be
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.
well yes, so just reboot/powercycle it, if you had code running from flash this was all erased at the point of calling eraseAll so code inside setWatch, setInterval is suddenly hitting empty flash where it expected javascript program to be