From d2a3a6dd791e4866d4f2841625f1eb35cb64c92e Mon Sep 17 00:00:00 2001 From: mandlm Date: Mon, 18 Jan 2016 12:51:11 +0100 Subject: [PATCH] Cleanup --- led.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/led.py b/led.py index 94b7d31..115697e 100755 --- a/led.py +++ b/led.py @@ -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'