|
Treehopper Python API
|
A single, monochromatic LED. More...
Public Member Functions | |
| def | __init__ (driver, channel, has_brightness_control) |
| def | brightness () |
| def | __str__ () |
Public Attributes | |
| brightness_control | |
| whether this LED has individual brightness control More... | |
| channel | |
| an integer representing the channel of the driver to which this LED belongs More... | |
| driver | |
| the LedDriver instance that owns this LED More... | |
Properties | |
| brightness = property | |
| Gets or sets the brightness of the LED (from 0.0 - 1.0) More... | |
| state = property | |
| Gets or sets the state of the LED (True or False) More... | |
A single, monochromatic LED.
| def __init__ | ( | driver, | |
| channel, | |||
| has_brightness_control | |||
| ) |
| def __str__ | ( | ) |
| def brightness | ( | ) |
| brightness_control |
whether this LED has individual brightness control
| channel |
an integer representing the channel of the driver to which this LED belongs
| driver |
the LedDriver instance that owns this LED
|
static |
Gets or sets the brightness of the LED (from 0.0 - 1.0)
|
static |
Gets or sets the state of the LED (True or False)