BlinkStickPro class is specifically designed to control the
individually addressable LEDs connected to the device. The tutorials
section contains all the details on how to connect them to BlinkStick
Pro.
|
__init__(self,
r_led_count=0,
g_led_count=0,
b_led_count=0,
delay=0.002,
max_rgb_value=255)
Initialize BlinkStickPro class. |
source code
|
|
|
set_color(self,
channel,
index,
r,
g,
b,
remap_values=True)
Set the color of a single pixel |
source code
|
|
(int, int, int)
|
|
|
clear(self)
Set all pixels to black in the frame buffer. |
source code
|
|
|
off(self)
Set all pixels to black in on the device. |
source code
|
|
|
|
|
|
|
send_data_all(self)
Send data to all channels |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|