10 lines
368 B
Python
10 lines
368 B
Python
from telemetrix_rpi_pico import telemetrix_rpi_pico
|
|
|
|
from kuukar_config import LEDS_DATA_PIN, LEDS_NUM
|
|
class leds:
|
|
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 |