-
• #2
Hi clausinus,
use
require("ESP8266").getFreeFlash();
to get a array of objects with addr and length like this// sample output require("ESP8266").getFreeFlash() =[ { "area": 487424, "length": 4096 }, { "area": 524288, "length": 4096 }, { "area": 1011712, "length": 36864 } ]
Hello,
it's my first try with Espruino. Im using a "Wemos D1 Mini".
At first I erased the flash from the "Wemos D1 Mini".
Then I flashed the firmware.
Then I wrote following code:
And the console delivered this:
The ID and Password, what I saved before, isn't the same.
On http://www.espruino.com/EspruinoESP8266 you can see, that the EEPROM emulation is addressed to "0x077000".
I don't know what I did wrong. Hope you can help me.