I'm using deep sleep. When waking up, espruino seems to go through standard boot sequence (is that so? anything special?) and all state is reset to whatever was last save()-d.
Whats my best option to keep state between sleeps? json file on flash or sth. else?
If you mean pin modes, than I suggest to set all required pin modes in onInit()
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem