From 0e4b1f9d97a31638c0081c90b5607258d57c6747 Mon Sep 17 00:00:00 2001 From: Bojan Korenini Date: Thu, 7 May 2020 14:13:47 +0200 Subject: [PATCH] Update light_sensor.py --- light_sensor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() +"""