OK - Thanks for sorting it out.
This is really useful if when the code does a save() all state is saved, it means that after a power down and reboot the state is restored.
I assume the local variables in onInit() are not saved, just the globals.
Thanks for the response. Very encouraging.
All I need now is for Espruino to run bare metal on a RaspberryPi...... Put it on my wish list!
@Stuart.d.d 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.
OK - Thanks for sorting it out.
This is really useful if when the code does a save() all state is saved, it means that after a power down and reboot the state is restored.
I assume the local variables in onInit() are not saved, just the globals.
Thanks for the response. Very encouraging.
All I need now is for Espruino to run bare metal on a RaspberryPi...... Put it on my wish list!