Apps could use the E.kill event to save state to a file, and check if the file exists and restore it when loading the app.
E.kill
@rigrig 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.
Apps could use the
E.kill
event to save state to a file, and check if the file exists and restore it when loading the app.