UncleRus / esp-idf-lib

Component library for ESP32-xx and ESP8266
https://esp-idf-lib.readthedocs.io/en/latest/
1.39k stars 437 forks source link

Encoder: properly configure pin when using BTN_PRESSED_LEVEL = 1 #526

Closed klaasjanhorlings closed 1 year ago

klaasjanhorlings commented 1 year ago

When using BTN_PRESSED_LEVEL 1 (CONFIG_RE_BTN_PRESSED_LEVEL_1=y) the input pins should be pulled down instead of up.

Also explicitly configured the opposite setting for clarity

UncleRus commented 1 year ago

Thank you!