Use other GPIO
This commit is contained in:
2
main.py
2
main.py
@@ -125,7 +125,7 @@ if 'version' in uos.listdir():
|
|||||||
with open('version', 'r') as current_version_file:
|
with open('version', 'r') as current_version_file:
|
||||||
current_version = current_version_file.readline().strip()
|
current_version = current_version_file.readline().strip()
|
||||||
|
|
||||||
door_bell = machine.Pin(14, machine.Pin.IN, machine.Pin.PULL_DOWN)
|
door_bell = machine.Pin(28, machine.Pin.IN, machine.Pin.PULL_DOWN)
|
||||||
debug_mode = machine.Pin(15, machine.Pin.IN, machine.Pin.PULL_DOWN)
|
debug_mode = machine.Pin(15, machine.Pin.IN, machine.Pin.PULL_DOWN)
|
||||||
|
|
||||||
doorbell_last_state = False
|
doorbell_last_state = False
|
||||||
|
|||||||
Reference in New Issue
Block a user