parent
9195ff6cc6
commit
86902bd9e5
8
main.py
8
main.py
|
@ -13,10 +13,10 @@ except ImportError:
|
||||||
print(ImportError)
|
print(ImportError)
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
RELAY_PIN_CH_1 = 7
|
RELAY_PIN_CH_1 = 4
|
||||||
RELAY_PIN_CH_2 = 11
|
RELAY_PIN_CH_2 = 17
|
||||||
RELAY_PIN_CH_3 = 13
|
RELAY_PIN_CH_3 = 27
|
||||||
RELAY_PIN_CH_4 = 15
|
RELAY_PIN_CH_4 = 11
|
||||||
|
|
||||||
global relay_ch_1
|
global relay_ch_1
|
||||||
relay_ch_1 = gpiozero.OutputDevice(RELAY_PIN_CH_1, active_high=True, initial_value=False)
|
relay_ch_1 = gpiozero.OutputDevice(RELAY_PIN_CH_1, active_high=True, initial_value=False)
|
||||||
|
|
Loading…
Reference in New Issue