nano blink.py
Paste The Following And Save:
from gpiozero import LEDBoard
from time import sleep
from signal import pause
leds = LEDBoard(17, 22, 23, 24, 27)
leds.on()
sleep(1)
leds.off()
sleep(1)
leds.value = (1, 0, 1, 0, 1)
sleep(1)
leds.blink()
pause()
To Run Code:
python blink.py