You are reading a single comment by @user84770 and its replies. Click here to read the full conversation.
  • 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

About

Avatar for user84770 @user84770 started