pimoroni-pico-rp2350/examples/plasma_2350/rgb_led.py
Phil Howard af670449c0 CI: Refactor to match our other tooling.
Retarget pimoroni-pico to feature/picovector2-and-layers.
2025-04-14 17:06:58 +01:00

16 lines
251 B
Python

from pimoroni import RGBLED
from time import sleep
# Setup the RGB Led
led = RGBLED(16, 17, 18)
# 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)