change debouce
This commit is contained in:
parent
89c4043faa
commit
b5689804b6
2 changed files with 8 additions and 1 deletions
|
|
@ -14,4 +14,4 @@ board = wt32-eth01
|
|||
framework = arduino
|
||||
lib_deps = siwats/ESPMegaPROR3@^2.5.3
|
||||
monitor_speed = 115200
|
||||
build_flags = -DCORE_DEBUG_LEVEL=5
|
||||
build_flags = -DCORE_DEBUG_LEVEL=0
|
||||
|
|
|
|||
|
|
@ -131,6 +131,13 @@ void setup()
|
|||
// // ------------ Factory Reset Routine ------------
|
||||
// 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++){
|
||||
espmega.inputs.setDebounceTime(i,200);
|
||||
}
|
||||
|
||||
|
||||
// if (clear_fram)
|
||||
// {
|
||||
// Serial.print("boot_state.txt=\"Factory Resetting . . .\"");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue