Skip to content

Instantly share code, notes, and snippets.

Created Feb 7, 2013

What would you like to do?
# Blinkly Script
# This script will blink a LED ON and OFF again.
# Created on Feb 2, 2013 by Steven Smethurst
# Version: 1.00
# Directions
# Connect a LED between Pin 6 ( Ground) and pin 12 (GPIO18)
from time import sleep
import RPi.GPIO as GPIO
# print about info
print "Blinky script, v1.0"
GPIO.setup(12, GPIO.OUT )
while 1:
GPIO.output(12, GPIO.HIGH )
GPIO.output(12, GPIO.LOW )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.