You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
arvydas edited this page Sep 18, 2014
·
4 revisions
#Import blinkstick modulefromblinkstickimportblinkstick#Find the first BlinkStickbstick=blinkstick.find_first()
#Set the color red on the 12th LED of R channelbstick.set_color(channel=0, index=12, name="red")
channel - the pin on which LEDs are connected
index - the index of the LED
Channels are:
0 - R pin on BlinkStick Pro board
1 - G pin on BlinkStick Pro board
2 - B pin on BlinkStick Pro board
The tutorials section has more details on how to connect individually addressable LEDs: