From b25c4728543790740af675366e4bc306b73affca Mon Sep 17 00:00:00 2001 From: reaw55 <58457329+reaw55@users.noreply.github.com> Date: Tue, 7 May 2024 22:09:58 +0700 Subject: [PATCH] changed debounce --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 526ab5d..a479f53 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -133,10 +133,10 @@ void setup() // Disable factory reset for now espmega.inputs.loop(); - // set debounce time to 200 for pin 0-7 - for (uint16_t i = 0; i < 8; i++) + // set debounce time to 500 for pin 0-11 + for (uint16_t i = 0; i < 12; i++) { - espmega.inputs.setDebounceTime(i, 200); + espmega.inputs.setDebounceTime(i, 500); } // if (clear_fram)