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

    Cheers
    David

About

Avatar for dave @dave started