Last active
November 14, 2018 19:08
-
-
Save uktechreviews/2b6a09aa1e8db3c268c88bb2fad26302 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gpiozero import LED | |
from time import sleep | |
green = LED(14) | |
amber = LED(15) | |
red = LED(18) | |
green.on() | |
sleep(2) | |
green.off() | |
sleep(2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment