Control a BBC micro:bit from Node.js using BLE.
- See noble prerequisites.
- Requires a custom firmware build on the micro:bit. This build removes pairing security and enables all BLE services. The source code of the custom firmware can be found here.
- Save hex file from firmware folder to computer.
- Connect micro:bit to computer using USB cable.
- Copy hex file to micro:bit disk drive.
- Calibrate magnetometer, by rotating micro:bit around in a circle.
npm install bbc-microbit
See examples folder.
See API documentation.