parent
36f7bb78f4
commit
64193c3c11
8
main.py
8
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)
|
||||
|
|
Loading…
Reference in New Issue