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

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 ------------