From e60e4c8231bf56d9a0739df1142ed9c3d837c0d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Kov=C3=A1cs?= Date: Sun, 26 Nov 2023 09:28:06 +0100 Subject: [PATCH] Use other GPIO --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ee88ca3..aa83afa 100644 --- a/main.py +++ b/main.py @@ -125,7 +125,7 @@ if 'version' in uos.listdir(): with open('version', 'r') as current_version_file: 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) doorbell_last_state = False