2022-10-25 07:49:19 +00:00
|
|
|
from telemetrix_rpi_pico import telemetrix_rpi_pico
|
|
|
|
|
|
|
|
from kuukar_config import LEDS_DATA_PIN, LEDS_NUM
|
2022-10-22 12:39:10 +00:00
|
|
|
class leds:
|
2022-10-25 07:49:19 +00:00
|
|
|
def __init__(self, aux_board: telemetrix_rpi_pico.TelemetrixRpiPico) -> None:
|
|
|
|
self.aux_board = aux_board
|
|
|
|
self.aux_board.set_pin_mode_neopixel(LEDS_DATA_PIN,LEDS_NUM)
|
|
|
|
|
|
|
|
def flash(r: int,g: int,b: int,duration_ms: int):
|
|
|
|
pass
|