Skip to content

Instantly share code, notes, and snippets.

@15amccann
Created January 17, 2017 10:22
Show Gist options
  • Save 15amccann/32050206f33bd4400874a64ab1ed0aae to your computer and use it in GitHub Desktop.
Save 15amccann/32050206f33bd4400874a64ab1ed0aae to your computer and use it in GitHub Desktop.
from time import sleep
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(23,GPIO.OUT)
GPIO.output(23,GPIO.HIGH)
sleep(5)
GPIO.output(23,GPIO.LOW)
GPIO.(cleanup)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment