NullLEDStrip
- class NullLEDStrip[source]
Bases:
objectBase class for LED strip
- __init__()
Methods
Attributes
- error: str = ''
- num_leds: int = 10
- set_led_color(index: int, red: int, green: int, blue: int, white: int = 0) None[source]
Set the color of a specific LED
- fill_strip(red: int = 0, green: int = 0, blue: int = 0, white: int = 0) None[source]
Set every LED to the same color
- update_strip(sleep_duration: float | None = None) None[source]
Update the LED strip to show changes
- clear_strip() None[source]
Clear all LEDs