Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.11 KB

File metadata and controls

27 lines (20 loc) · 1.11 KB

Microbit Web Bluetooth controller

The objective of this project is to control the micro:bit using a web interface + bluetooth web API.

the user provides an SVG file, prepared with inkscape for example. In the SVG :

  • put a "title" property => when clicked a message will be sent to microbit
  • put a keyCode "label" property to send a message when key is pressed.
    • example: ArrowRight, ArrowLeft, ArrowUp, ArrowDown, Space

The user must connect to micro:bit

He can then click on the activated SVG parts, and a bluetooth message will be sent to Micro:bit, with the event followed by a semi-column !

Running example

https://chgarde.github.io/microweb/

build

use build.sh

links

Micro:bit makecode