https://github.com/thegecko/microbit-web-components
Web Components library for micro:bit
https://github.com/thegecko/microbit-web-components
Last synced: about 1 year ago
JSON representation
Web Components library for micro:bit
- Host: GitHub
- URL: https://github.com/thegecko/microbit-web-components
- Owner: thegecko
- License: mit
- Created: 2019-03-15T21:11:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T18:45:58.000Z (about 3 years ago)
- Last Synced: 2025-03-15T23:37:16.103Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://thegecko.github.io/microbit-web-components/
- Size: 360 KB
- Stars: 16
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-microbit - microbit-web-components - Web Components for all the micro:bit features exposed via BLE. (🗿 JavaScript and MakeCode / 🗿 Node.js and Browser)
README
# micro:bit Web Components
[](https://www.npmjs.com/package/microbit-web-components)
[](https://spdx.org/licenses/MIT.html)
Web Components library for micro:bit
# Example
All of the implemented web components can be found in the [example page](https://github.com/thegecko/microbit-web-components/blob/master/examples/index.html) live here:
https://thegecko.github.io/microbit-web-components
# Device Setup
Please refer to the [microbit-web-bluetooth](https://github.com/thegecko/microbit-web-bluetooth) documentation for creating a `.hex` file for your device and some sample programs:
https://thegecko.github.io/microbit-web-bluetooth/docs/index.html#device-setup
# Implementation Status
## Actions
- [x] Connect/Disconnect
- [x] Calibrate Compass
## Device Information
- [x] Name
- [x] Firmware Version
- [x] Hardware Version
- [x] Manufacturer Name
- [x] Model Number
- [x] Serial Number
## State Class Wrappers
- [x] Connection State
- [x] Button A State
- [x] Button B State
- [x] Movement State
- [ ] IO Pin State
## Data
- [x] Temperature
- [x] Compass
- [ ] Write IO
## LEDs
- [x] Write Text
- [x] Read/Write LED Matrix
# Serial
- [x] Send Message
- [x] Receive Message
### Events
- [ ] Send Event
- [ ] Receive Event
- [ ] Client Channel Selection
- [ ] Microbit Channel Selection
### Firmware
- [x] Initiate DFU Mode
- [ ] Update Firmware