changed debounce
This commit is contained in:
parent
0ac6551cdd
commit
b25c472854
1 changed files with 3 additions and 3 deletions
|
|
@ -133,10 +133,10 @@ void setup()
|
||||||
// Disable factory reset for now
|
// Disable factory reset for now
|
||||||
espmega.inputs.loop();
|
espmega.inputs.loop();
|
||||||
|
|
||||||
// set debounce time to 200 for pin 0-7
|
// set debounce time to 500 for pin 0-11
|
||||||
for (uint16_t i = 0; i < 8; i++)
|
for (uint16_t i = 0; i < 12; i++)
|
||||||
{
|
{
|
||||||
espmega.inputs.setDebounceTime(i, 200);
|
espmega.inputs.setDebounceTime(i, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (clear_fram)
|
// if (clear_fram)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue