saving state between deep sleeps? #7456
Unanswered
espruino-discuss3
asked this question in
ESP32
Replies: 1 comment
-
Posted at 2022-01-16 by @MaBecker If you mean pin modes, than I suggest to set all required pin modes in onInit() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2022-01-10 by gdanov
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?
Beta Was this translation helpful? Give feedback.
All reactions