You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Does the IDE have a setting for that?

    If you look under Settings -> Communications -> save on send then you can choose how code is sent to the device.

    after saving, the BT link is gone

    That was part of the idea of the badge code so that other people can't hijack your badge :) The code that does it is down the bottom: https://github.com/dbovey/espruino/blob/master/Badge_simple.js#L60

    Basically if you hold down a button for the first few seconds after boot (or if you're already connected) then the connection will stay up.

About

Avatar for Gordon @Gordon started