From ade4cc7f5dc32104a41c5944fdb96198b1dad216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sun, 17 Jul 2022 00:53:09 +0200 Subject: [PATCH] moved cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 1d3d62e..1f6e0f6 100644 --- a/test.py +++ b/test.py @@ -5,8 +5,8 @@ import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) -GPIO.setup(4, GPIO.OUT) GPIO.cleanup() +GPIO.setup(4, GPIO.OUT) GPIO.output(4, GPIO.HIGH) time.sleep(1) GPIO.output(4, GPIO.LOW)