pimoroni-pico-rp2350/examples/tiny_2350/rgb_led.py
Phil Howard c9f5a28cd4 CI: Refactor to match our other tooling.
Retarget pimoroni-pico to feature/picovector2-and-layers.
2025-03-05 12:31:54 +00:00

16 lines
251 B
Python

from pimoroni import RGBLED
from time import sleep
# Setup the RGB Led
led = RGBLED(18, 19, 20)
# Cycle through RGB
while True:
led.set_rgb(255, 0, 0)
sleep(1)
led.set_rgb(0, 255, 0)
sleep(1)
led.set_rgb(0, 0, 255)
sleep(1)