changed GPIO mode
This commit is contained in:
parent
131233aa2c
commit
8099e0e495
8
main.py
8
main.py
@ -60,14 +60,14 @@ doorID = config.get('Setup', 'doorID')
|
||||
|
||||
gotAaguid = None
|
||||
if gpie:
|
||||
GPIO.setmode(GPIO.BCM)
|
||||
GPIO.setmode(GPIO.BOARD)
|
||||
|
||||
secLevel = 0
|
||||
user_id = None
|
||||
greenLed = 14
|
||||
redLed = 4
|
||||
greenLed = 8
|
||||
redLed = 7
|
||||
|
||||
door = 21
|
||||
door = 40
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user