diff --git a/05_relay.py b/05_relay.py index 5741184..464dcf8 100755 --- a/05_relay.py +++ b/05_relay.py @@ -2,7 +2,7 @@ import RPi.GPIO as GPIO import time -RelayPin = 11 # pin11 +RelayPin = 12 # pin12 def setup(): GPIO.setmode(GPIO.BOARD) # Numbers pins by physical location @@ -11,7 +11,7 @@ def setup(): def loop(): while True: - print '...clsoe' + print '...close' GPIO.output(RelayPin, GPIO.LOW) time.sleep(0.5) print 'open...'