'This way it can pick up where it left when the widget is loaded again'
Maybe the usage logic is a bit off? As the widget is used say once a day, why the need to save every second? Just archive when idle, or before the widget is dismissed.
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.
Tue 2020.04.14
Eventually, especially as there are 86,400 seconds in a day!
Maybe the usage logic is a bit off? As the widget is used say once a day, why the need to save every second? Just archive when idle, or before the widget is dismissed.