changed pin numbers from BCM to BOARD

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-14 01:06:09 +02:00
parent 86902bd9e5
commit 36f7bb78f4
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 = "BOARD7"
RELAY_PIN_CH_2 = "BOARD11"
RELAY_PIN_CH_3 = "BOARD13"
RELAY_PIN_CH_4 = "BOARD23"
global relay_ch_1
relay_ch_1 = gpiozero.OutputDevice(RELAY_PIN_CH_1, active_high=True, initial_value=False)