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
|
gotAaguid = None
|
||||||
if gpie:
|
if gpie:
|
||||||
GPIO.setmode(GPIO.BCM)
|
GPIO.setmode(GPIO.BOARD)
|
||||||
|
|
||||||
secLevel = 0
|
secLevel = 0
|
||||||
user_id = None
|
user_id = None
|
||||||
greenLed = 14
|
greenLed = 8
|
||||||
redLed = 4
|
redLed = 7
|
||||||
|
|
||||||
door = 21
|
door = 40
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user