update library & change debounce

This commit is contained in:
Siwat Sirichai 2024-06-21 23:18:40 +07:00
parent 29fc7a054f
commit 7bda72a930
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
/.vscode

View file

@ -12,6 +12,6 @@
platform = espressif32
board = wt32-eth01
framework = arduino
lib_deps = siwats/ESPMegaPROR3@^2.9.0
lib_deps = siwats/ESPMegaPROR3@^2.9.3
monitor_speed = 115200
build_flags = -DCORE_DEBUG_LEVEL=0 -DSW_VERSION='"ise-final-1.0"' -DBOARD_MODEL='"ESPMegaPRO R3.3b"'

View file

@ -129,7 +129,7 @@ void setup()
// set debounce time to 500 for pin 0-11
for (uint16_t i = 0; i < 16; i++)
{
espmega.inputs.setDebounceTime(i, 1000);
espmega.inputs.setDebounceTime(i, 75);
}
// ------------ IoT Module Initialization Routine ------------