Trees | Indices | Help |
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
|
|||
|
|
|||
blinkerThreads =
Class that represents a LED pair. |
|
Creates a Led instance with given ID. IDs of the double LEDs: 0: front, 1: left side , 2: rear, 3: right side. The following global constants are defined: LED_FRONT = 0, LED_LEFT = 1, LED_REAR = 2, RED_RIGHT = 3.
|
Sets the RGB color value of the two LEDs with current ID. @param args list of [red, green, blue] RGB color components 0..255 or three color integers 0..255 or X11-color string |
Starts blinking with given onColor and offColor. The blinking period is offTime + onTime. May be stopped by calling stopBlinker(). If blocking is False, the function returns immediately while the blinking goes on. The blinking is stopped by setColor().
|
|
Sets the RGB color of all 4 LED pairs. @param color list of [red, green, blue] RGB color components 0..255 or three color integers 0..255 or X11-color string |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Apr 16 12:46:33 2017 | http://epydoc.sourceforge.net |