Skip to content

thegecko/microbit-web-components

Repository files navigation

micro:bit Web Components

npm License

Web Components library for micro:bit

Example

All of the implemented web components can be found in the example page live here:

https://thegecko.github.io/microbit-web-components

Device Setup

Please refer to the 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

  • Connect/Disconnect
  • Calibrate Compass

Device Information

  • Name
  • Firmware Version
  • Hardware Version
  • Manufacturer Name
  • Model Number
  • Serial Number

State Class Wrappers

  • Connection State
  • Button A State
  • Button B State
  • Movement State
  • IO Pin State

Data

  • Temperature
  • Compass
  • Write IO

LEDs

  • Write Text
  • Read/Write LED Matrix

Serial

  • Send Message
  • Receive Message

Events

  • Send Event
  • Receive Event
  • Client Channel Selection
  • Microbit Channel Selection

Firmware

  • Initiate DFU Mode
  • Update Firmware