Merge branch 'master' of github.com:mandlm/Pi

This commit is contained in:
Michael Mandl 2016-01-25 22:52:45 +01:00
commit 4cb09d6ff1

6
led.py
View file

@ -4,8 +4,6 @@ from time import sleep
import RPi.GPIO as GPIO
print 'blah'
pin = 14
try:
@ -18,8 +16,6 @@ try:
GPIO.output(pin, 0)
sleep(1)
except KeyboardInterrupt:
GPIO.output(pin, 0)
pass
finally:
GPIO.cleanup()
print 'end'