Thanks Gordon,
That got rid of the warning but the variable I create from FlashEEPROM module is now undefined so it crashes at runtime.
Uncaught TypeError: Expecting a number or something iterable, got undefined
at line 226 col 31
var str = E.toString(f.read(0));
^
in function "readBeacon" called from line 577 col 14
readBeacon();
^
in function called from system
f is created by
var f = new (require("FlashEEPROM"))();
Is the Flash module supposed to be built into the firmware? Should I try reflashing.
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.
Thanks Gordon,
That got rid of the warning but the variable I create from FlashEEPROM module is now undefined so it crashes at runtime.
f is created by
Is the Flash module supposed to be built into the firmware? Should I try reflashing.
Cheers
David