From bb68e0f117731860975e3218377feda754b55c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Wed, 6 Jul 2022 19:24:07 +0200 Subject: [PATCH] changed time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 68d11ae..62fa5c4 100644 --- a/test.py +++ b/test.py @@ -2,11 +2,11 @@ import time import os import gpiozero -pins = [14,15,18,23,24,25,8,7] +pins = [14,15,18,23,24,25,8,7,8,25,24,23,18,15,15] for pin in pins: print(pin) relay = gpiozero.OutputDevice(pin, active_high=False, initial_value=False) relay.on() - time.sleep(10) + time.sleep(1) relay.off() \ No newline at end of file