You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Update #2: If you:

    • Use the latest build of Espruino
    • Install the Web IDE straight from GitHub
    • Turn on Modules uploaded as functions (BETA) in settings
    • Turn on Save on send in settings

    Use the Google sheets example, but remove the timeouts:

      flash.erasePage(addr);
      console.log("Saving key");
      okey = fwrite( atob("MIIEog.....
      console.log("Saving cert");
      ocert = fwrite( atob("MIIFijCC....
      console.log("Saving ca");
      oca = fwrite( atob("MIIFgDC...
      console.log("Done!");
    

    You'll end up with loads of free memory (~450 vars used as opposed to ~850), as then any functions stored in modules stay defined in flash - so that actually makes HTTPS on the Pico + ESP8266 a whole lot more usable.

  • Im getting

    Uncaught Error: Both arguments to addCached must be strings
    at line 5 col 360
    ...urn void 0!==d}};return h}});
    
About

Avatar for Gordon @Gordon started