You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • Just to add that Object.keys(E) returning nothing is expected - it's because E is defined as if it's an object that extends an object that has all the functions (eg Object.keys([]) wouldn't include push/pop/etc) - although in this case it's a bit confusing.

    As @fanoush says tab complete should work, or Object.getOwnPropertyNames(E) will work too.

    But yes, it seems connectSDcard isn't built into the Puck firmware. If you ever do want to go that route let us know though - you don't actually need to set up a compiler - you just fork the GitHub repo, enable GitHub actions, make the change to boards/PUCKJS_MINIMAL.py which you can do with the online editor, and magically you'll have the file available to download after a few minutes a bit like: https://github.com/espruino/Espruino/act­ions/runs/4408348448#artifacts

About

Avatar for fanoush @fanoush started