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

MCP23S17 library and Encoder #3

Open
Mesihas opened this issue Dec 14, 2020 · 1 comment
Open

MCP23S17 library and Encoder #3

Mesihas opened this issue Dec 14, 2020 · 1 comment

Comments

@Mesihas
Copy link

Mesihas commented Dec 14, 2020

How it would be possible to use this library with a rotary Encoder

I am using an ESP32 and running out of pins. This library has been very useful and simple to use with push buttons but I am having a lot of trouble trying to make rotary encoder to work.

any suggestion or idea would be h.a.

@tonton81
Copy link

SPI is pretty fast, it would depend on your polling rate if you are not using interrupts for the pins. Interrupt would be better especially if your loop has slow code if you wanna catch the encoder signals.

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

2 participants