Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32Encoder::useInternalWeakPullResistors = DOWN does not work #78

Open
rebior opened this issue Aug 18, 2022 · 0 comments
Open

ESP32Encoder::useInternalWeakPullResistors = DOWN does not work #78

rebior opened this issue Aug 18, 2022 · 0 comments

Comments

@rebior
Copy link

rebior commented Aug 18, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant