From 64193c3c11d542f53526f34ffeec07ea1fce4ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 14 Jul 2022 01:08:02 +0200 Subject: [PATCH] changed back MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 9ad6b3c..518aeb9 100644 --- a/main.py +++ b/main.py @@ -13,10 +13,10 @@ except ImportError: print(ImportError) exit() -RELAY_PIN_CH_1 = "BOARD7" -RELAY_PIN_CH_2 = "BOARD11" -RELAY_PIN_CH_3 = "BOARD13" -RELAY_PIN_CH_4 = "BOARD23" +RELAY_PIN_CH_1 = 4 +RELAY_PIN_CH_2 = 17 +RELAY_PIN_CH_3 = 27 +RELAY_PIN_CH_4 = 11 global relay_ch_1 relay_ch_1 = gpiozero.OutputDevice(RELAY_PIN_CH_1, active_high=True, initial_value=False)