AnyboardJS LED Demo

Demo of AnyToken library that makes use of: 1) Custom Bluetooth Driver, 2) Token discovery, 3) Token connecting, 4) AnyBoard Token listener

Click on the black button to discover devices. Devices will pop up as new grey buttons with their name on it. Click the name button to attempt to connect. It will turn blue to signal connection is pending, and green when connected. Red signals it being/having disconnected.

PS: Clicking a green token will attempt to send {"device":"LED","event":"on","color":"green"} to the token. This is adapted to work with LightBlue Bean with a certain firmware, and might not work.