From 3ad3c2b2bbf43424b68abeff79d083c065111400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Wed, 6 Jul 2022 19:20:35 +0200 Subject: [PATCH] changed code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- test.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test.py b/test.py index 560ded9..93ee84a 100644 --- a/test.py +++ b/test.py @@ -8,8 +8,5 @@ for pin in pins: print(pin) relay = gpiozero.OutputDevice(pin, active_high=False, initial_value=False) relay.on() - -for pin in pins: - print(pin) - relay = gpiozero.OutputDevice(pin, active_high=False, initial_value=False) + time.sleep(10) relay.off() \ No newline at end of file