From 3aa61515ae1237a1d5840f355d643c5b199f2efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Wed, 6 Jul 2022 19:44:17 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 967b530..465b9ba 100644 --- a/test.py +++ b/test.py @@ -11,7 +11,7 @@ pins = [14,15,18,23,24,25,8,7,8,25,24,23,18,15,15] # time.sleep(1) # relay.off() -relay = gpiozero.OutputDevice(p14, active_high=False, initial_value=False) +relay = gpiozero.OutputDevice(14, active_high=False, initial_value=False) relay.on() time.sleep(30) relay.off() \ No newline at end of file