Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.34 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.34 KB

Demo

https://knandersen.github.io/friendly-lego-ble/ (Make sure you have the latest version of Scratch Link running)

Turn on any LEGO Hub featuring BLE 4.0+ (except WeDo 2.0). Your hub should be detected and connected to automatically.

How to use

  1. Run the project using the commands described in 'Available Scripts' below
  2. Open the website http://localhost:3000
  3. Make sure you have the latest version of Scratch Link installed and running
  4. Turn on any LEGO Hub supporting BLE (except WeDo 2.0)
  5. The app should connect to the hub automatically

The BLE stuff happens in https://github.com/knandersen/friendly-lego-ble/blob/master/src/Connector.js

Documentation

All the BLE commands and enums are based on the official LEGO documentation available at https://lego.github.io/lego-ble-wireless-protocol-docs

This project was bootstrapped with Create React App.

How to contribute

This is one of my first repos published to Github. I'm still learning the workflows and ways of doing this, so I'd appreciate any comments/advice for how to make this project as usable for others as possible. In advance, thanks.