changed gpio pin num from bcm to board

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-13 10:16:12 +02:00
parent 4ef914fa19
commit 9195ff6cc6
1 changed files with 4 additions and 4 deletions

View File

@ -13,10 +13,10 @@ except ImportError:
print(ImportError)
exit()
RELAY_PIN_CH_1 = 4
RELAY_PIN_CH_2 = 17
RELAY_PIN_CH_3 = 27
RELAY_PIN_CH_4 = 11
RELAY_PIN_CH_1 = 7
RELAY_PIN_CH_2 = 11
RELAY_PIN_CH_3 = 13
RELAY_PIN_CH_4 = 15
global relay_ch_1
relay_ch_1 = gpiozero.OutputDevice(RELAY_PIN_CH_1, active_high=True, initial_value=False)