Example of using Chrome's WebHID to talk to blink(1) USB RGB LED notification lights.
For more details on WebHID, see Awesome WebHID list
Visit this page's published URL to run these examples: https://todbot.github.io/blink1-webhid
To see the source visit: https://github.com/todbot/blink1-webhid
List of examples:
- blink1-demo-simplest -- bare-bones example of lighting a blink(1)
- blink1-demo-party -- slightly more complex example
- blink1-demo-colorpicker -- color picker with fast updates to blink(1)
Pre-requisites for these examples, you will need:
- blink(1) USB LED
- Chrome 78+ (currently in beta)
- Visit
chrome://flags/#enable-experimental-web-platform-features
and "Enable the Experiment Web Platform Features" - Relaunch Chrome
- Visit this page: https://todbot.github.io/blink1-webhid