ESP32Encoder icon indicating copy to clipboard operation
ESP32Encoder copied to clipboard

ESP32Encoder::useInternalWeakPullResistors = DOWN does not work

Open rebior opened this issue 3 years ago • 0 comments

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

rebior avatar Aug 18 '22 10:08 rebior