From 1d35684c53efc411a1520c9ef64b1b97bcffda82 Mon Sep 17 00:00:00 2001 From: Moirtz Wagner Date: Mon, 6 Oct 2025 17:08:02 +0200 Subject: [PATCH] improved key scan further:added reboot possibility by input of # times pin length --- FingerprintDoorbell/lib/Keypad/src/Keypad.cpp | 6 +++++- FingerprintDoorbell/src/main.cpp | 16 +++++++++++++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/FingerprintDoorbell/lib/Keypad/src/Keypad.cpp b/FingerprintDoorbell/lib/Keypad/src/Keypad.cpp index bed7939..e79c52b 100644 --- a/FingerprintDoorbell/lib/Keypad/src/Keypad.cpp +++ b/FingerprintDoorbell/lib/Keypad/src/Keypad.cpp @@ -82,10 +82,14 @@ bool Keypad::getKeys() { // Private : Hardware scan void Keypad::scanKeys() { // Re-intialize the row pins. Allows sharing these pins with other hardware. + for (byte r=0; r