-
btw. is this save operation store some data on the MCU every save I make? I mean should I flash espruino to save space on the mcu or during save oparation it will erase all old data and replace them with new one?
save() writes the current contents of all JSVars to the flash, replacing whatever was previously there. Then it resets the Espruino and runs onInit().
You can also, instead of saving, send the code and just manually kick off onInit() or the function you'd reference from E.on("init",...).
Oli and Gordon, the way your wrote isn't working, OLED doesn't start after reset,
but MaBe advice looks like good one, OLED and all code is starting after reset, but EspruinoIDE return some error in console
btw. is this save operation store some data on the MCU every save I make? I mean should I flash espruino to save space on the mcu or during save oparation it will erase all old data and replace them with new one?