From 41410cdfd5fabc04a832e373d818f2f015b75249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Wed, 6 Jul 2022 18:41:32 +0200 Subject: [PATCH] next text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- test.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test.py b/test.py index 2bbdebe..bd0172a 100644 --- a/test.py +++ b/test.py @@ -9,8 +9,9 @@ pins = [8,10,12,14,18,20,22,24] for pin in pins: GPIO.setup(pin, GPIO.OUT) - GPIO.output(pin, GPIO.LOW) - time.sleep(0.001) - GPIO.output(pin, GPIO.HIGH) - time.sleep(0.001) + +GPIO.output(8, GPIO.HIGH) +time.sleep(30) +GPIO.output(8, GPIO.LOW) + GPIO.cleanup \ No newline at end of file