Hi. All you have to do is type save() on the left-hand side. It'll save the state of everything (including intervals and watches) into flash.
save()
If you want to run code on startup, create a function called onInit - After saving, Espruino will call it automatically at power on.
onInit
Hope that helps!
@Gordon 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. All you have to do is type
save()
on the left-hand side. It'll save the state of everything (including intervals and watches) into flash.If you want to run code on startup, create a function called
onInit
- After saving, Espruino will call it automatically at power on.Hope that helps!