ESP32: Pull-down support
ModischFabrications opened this issue · 1 comments
ModischFabrications commented
OneButton(pin, true, true) supports only pull-ups, but some chips (notably the ESP32) offer pull-down as well. Is there any other method I couldn't find or are users limited to only pull-ups?
mathertel commented
Have a look at the example SpecialInput.ino
.
Here the pinMode is set outside of the library and you can set it for ESP32 with a INPUT_PULLDOWN.