EV3Lights: this class provides functions to control RGB LEDs using EV3Lights.
More...
|
tuple | EV3Lights_ADDRESS = (0x2c) |
| Default NXTServo I2C Address.
|
|
int | RED = 0x42 |
|
int | GREEN = 0x43 |
|
int | BLUE = 0x44 |
|
EV3Lights: this class provides functions to control RGB LEDs using EV3Lights.
Initialize the class with the i2c address of your EV3Lights.
- Parameters
-
self | The object pointer. |
ev3lights_address | Address of your EV3Lights |
def mindsensors.EV3Lights.setColor |
( |
|
self, |
|
|
|
Color, |
|
|
|
intensity |
|
) |
| |
Sets the Intensity of Color on the strip.
- Parameters
-
self | The object pointer |
Color | Name you wish to control |
intensity | intensity of that color (0 to 255) |
The documentation for this class was generated from the following file:
- PiStorms/sys/mindsensors.py