ESP32Encoder
ESP32Encoder copied to clipboard
ESP32Encoder::useInternalWeakPullResistors = DOWN does not work
Hello, thanks for the great library!
My setup with the internal pull up resistors worked fine. When I changed it to use the pull down resistors nothing happened at all. So I tried to set the pins to pull down explicitly after attaching the encoder and viola - it worked!
I did some research in the ESP32 docs and it seems that the PCNT library sets the inputs to pull up:
