diff --git a/test.py b/test.py index 8b9cd97..1d3d62e 100644 --- a/test.py +++ b/test.py @@ -6,11 +6,11 @@ import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(4, GPIO.OUT) +GPIO.cleanup() GPIO.output(4, GPIO.HIGH) time.sleep(1) GPIO.output(4, GPIO.LOW) time.sleep(1) -GPIO.cleanup() # def debug_print(message: str): # now = datetime.now()