Github repo
Photos
BlinkM Smart LED and Spark Core.
BlinkM Smart LED Library for Spark Core
Wiring
- BlinkM Vcc to 3.3V
- BlinkM GND to GND
- BlinkM SCL to D1 (with pullup resistor)
- BlinkM SDA to D0 (with pullup resistor)
Sample Application
Sample application is simple one to display a color and to blink. The application defines two Spark function setcolor and setblinking to set the color and start/stop blink the LED.
Web Page
The Web Page displays a color picker to select color and a checkbox to strt/stop the blinking. Sepctrum is used for the Color Picker. Edit index.html and replace the tokens deviceid and access token with actual values.
Comments