You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Ahh - yes, it's because ble_hid_keyboard is a module, and you're not including that module.

    Maybe try using https://www.espruino.com/ide/ to write the code - I just pushed some changes I'd had locally that make this much easer.

    • Remove the require("Storage").write(".boot0", around your code
    • Click the down-arrow under the upload button
    • Choose the Storage option (if you don't see it, make sure to reload the page as you may still have the old IDE version)
    • Choose .boot0 under that menu (you'll only see it on your device because you already created it - otherwise you'll have to click the button to choose your own filename and type it in)
    • Click the upload button as normal.
About

Avatar for Gordon @Gordon started