Hi MaBe, thank you for your advise! above two links were tested on ESP12-F + "v1.95 4Mb" scatch. Unfortunately:
Flash.getFree() Uncaught ReferenceError: "Flash" is not defined
and
var f = new (require("FlashEEPROM"))(); Uncaught Error: Module "FlashEEPROM" not found
In final I got "sunny night" and found one solution that was tested and passed: step 1) write in the left side of Web IDE two lines:
function getName(){return "NR.3";} save();
simple call getName() returns NR.3 even after power reset. Perfect begin!
step 2) function was changed like below:
function getName(){return "NR.12";} save();
reboot by power and call getName() ruturns NR.12 now!
Hope it will work for long time. Anyway, I will glad to get yours better ideas.
Thank you, Mike
@user84770 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.
Hi MaBe, thank you for your advise!
above two links were tested on ESP12-F + "v1.95 4Mb" scatch. Unfortunately:
and
In final I got "sunny night" and found one solution that was tested and passed:
step 1) write in the left side of Web IDE two lines:
simple call getName() returns NR.3 even after power reset. Perfect begin!
step 2) function was changed like below:
reboot by power and call getName() ruturns NR.12 now!
Hope it will work for long time. Anyway, I will glad to get yours better ideas.
Thank you, Mike