Created
June 2, 2016 14:21
-
-
Save lesp/a47fe7d84f4e02cf9b43bb522643abc3 to your computer and use it in GitHub Desktop.
Using GPIO Zero to flash an LED
This file contains hidden or 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 signal import pause | |
| red = LED(17) | |
| red.blink() | |
| pause() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment