Skip to content

Instantly share code, notes, and snippets.

@lesp
Created June 2, 2016 14:21
Show Gist options
  • Select an option

  • Save lesp/a47fe7d84f4e02cf9b43bb522643abc3 to your computer and use it in GitHub Desktop.

Select an option

Save lesp/a47fe7d84f4e02cf9b43bb522643abc3 to your computer and use it in GitHub Desktop.
Using GPIO Zero to flash an LED
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