mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
10 lines
146 B
Python
10 lines
146 B
Python
from gpiozero import LEDBoard
|
|
from time import sleep
|
|
|
|
leds = LEDBoard(5, 6, 13, 19, 26)
|
|
|
|
for led in leds:
|
|
led.on()
|
|
sleep(1)
|
|
led.off()
|