rgb_strip
¶
RGB Strip constants.
Classes:
| Name | Description |
|---|---|
RgbColor |
RGB Color. |
Attributes:
| Name | Type | Description |
|---|---|---|
BRIGHT |
int
|
Bright intensity of a color. |
DIM |
int
|
Dim intensity of a color. |
LED_COUNT |
int
|
The amount of leds in the strip on the AALeC. |
MEDIUM |
int
|
Medium intensity of a color. |
c_blue |
RgbColor
|
Blue color (medium brightness) |
c_cyan |
RgbColor
|
Cyan color (medium brightness) |
c_green |
RgbColor
|
Green color (medium brightness) |
c_off |
RgbColor
|
Led Off |
c_purple |
RgbColor
|
Purple color (medium brightness) |
c_red |
RgbColor
|
Red color (medium brightness) |
c_white |
RgbColor
|
White color (medium brightness) |
c_yellow |
RgbColor
|
Yellow color (medium brightness) |
LED_COUNT
module-attribute
¶
LED_COUNT: int = const(5)
The amount of leds in the strip on the AALeC.
c_purple
module-attribute
¶
Purple color (medium brightness)
c_yellow
module-attribute
¶
Yellow color (medium brightness)
RgbColor
¶
Bases: namedtuple('RgbColorBase', ['r', 'g', 'b'])
RGB Color.
Attributes:
| Name | Type | Description |
|---|---|---|
r |
int
|
red part of the color. (0-255) |
g |
int
|
green part of the color. (0-255) |
b |
int
|
blue part of the color. (0-255) |