Hi. a have same question, but with esp8266. need to save one variable after manual change and restore it from memory after reboot.
//actuation temp. this variable need to store and restore from memory
let maxTemp = 21;
buttonPlus.on('click', function() {
maxTemp++;
save();
});
buttonMinus.on('click', function() {
maxTemp--;
save();
});
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.
Hi. a have same question, but with esp8266. need to save one variable after manual change and restore it from memory after reboot.
thanks