Web Components library for micro:bit


Keywords
micro:bit, microbit, webcomponents, web-components
License
MIT
Install
npm install microbit-web-components@0.3.1-next.6c790d0.0

Documentation

micro:bit Web Components

Circle CI 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 pgrograms:

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