This shows examples of a micro:bit V2 acting as Human Interface Devices over Bluetooth. Examples include: A keyboard for a computer (macOS and Windows), a mouse for a computer (macOS shown), a shutter release for an Android tablet, a media remote for an iPhone, and a Gamepad for an Android tablet. (Actual iOS and Android devices were used and screencast to a computer, which is what's shown in the video)
It can be added to a project by:
1. Create/Open a project
2. Click the gear icon in the upper right
3. Select "Extensions"
4. Type "BLE HID" in the "Search or enter project URL..." and hit enter.
5. Click on the microbit-pxt-blehid tile.
6. You'll be prompted to remove the "Radio" blocks. Select the "Remote extension(s) and add microbit-pxt-blehid" button.
There have been two updates since the video was made:
* The error ("Program Error: Cannot read properties ...") will no longer
* The bluetooth name of the micro:bit will not be "BBC micro:bit". It will be something like "uBit [?????]", where the ????? is a 5-letter name of your specific micro:bit.
19 янв 2022