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.
- Run the project using the commands described in 'Available Scripts' below
- Open the website http://localhost:3000
- Make sure you have the latest version of Scratch Link installed and running
- Turn on any LEGO Hub supporting BLE (except WeDo 2.0)
- 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
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.
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.