IPdotSetAF / EZButton

Arduino library that transforms raw button/touch inputs into events easily.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Example sketch should use INPUT_PULLUP instead of the currently used INPUT

erikgk opened this issue · comments

pinMode(BTN_1_PIN, INPUT);

See this mentioned line. Is it intentionally INPUT in this example sketch instead of the better INPUT_PULLUP?

pinMode(BTN_1_PIN, INPUT);

See this mentioned line. Is it intentionally INPUT in this example sketch instead of the better INPUT_PULLUP?

Well The board that i was testing the sketch with (a chinese Arduino Nano) had some issues with the INPUT_PULLUP or maybe it was my bug at that moment, I will check again.

Thank you!