Skip to content

Instantly share code, notes, and snippets.

@uktechreviews
Last active November 14, 2018 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uktechreviews/2b6a09aa1e8db3c268c88bb2fad26302 to your computer and use it in GitHub Desktop.
Save uktechreviews/2b6a09aa1e8db3c268c88bb2fad26302 to your computer and use it in GitHub Desktop.
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