diff --git a/light_sensor.py b/light_sensor.py index b42dd45..54fe437 100644 --- a/light_sensor.py +++ b/light_sensor.py @@ -31,7 +31,7 @@ def rc_time (pin_to_circuit): break return count - +""" #Catch when script is interupted, cleanup correctly try: # Main loop @@ -41,3 +41,4 @@ def rc_time (pin_to_circuit): pass finally: GPIO.cleanup() +"""