Last active
October 18, 2015 18:15
-
-
Save bennuttall/65b56066a495598dde6f to your computer and use it in GitHub Desktop.
GPIO Zero Robot Antenna
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 | |
red = LED(2) | |
blue = LED(3) | |
while True: | |
red.on() | |
sleep(1) | |
red.off() | |
blue.on() | |
sleep(1) | |
blue.off() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment