update library & change debounce
This commit is contained in:
parent
29fc7a054f
commit
7bda72a930
3 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -3,3 +3,4 @@
|
|||
.vscode/c_cpp_properties.json
|
||||
.vscode/launch.json
|
||||
.vscode/ipch
|
||||
/.vscode
|
||||
|
|
|
|||
|
|
@ -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"'
|
||||
|
|
@ -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 ------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue