Invert relay output
This commit is contained in:
parent
b84c968845
commit
0428eb8921
4
main.py
4
main.py
|
@ -18,8 +18,8 @@ from signal import *
|
||||||
import secrets
|
import secrets
|
||||||
|
|
||||||
RELAY_PIN = 17
|
RELAY_PIN = 17
|
||||||
RELAY_CLOSE = GPIO.LOW
|
RELAY_CLOSE = GPIO.HIGH
|
||||||
RELAY_OPEN = GPIO.HIGH
|
RELAY_OPEN = GPIO.LOW
|
||||||
|
|
||||||
RFID_EN_PIN = 27
|
RFID_EN_PIN = 27
|
||||||
CARDS_FILE = 'card_data.json'
|
CARDS_FILE = 'card_data.json'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user