Skip to content

EC11 Rotary Encoder on MCP23017 (pro micro) [different Pin Connection than example] #961

Answered by tttapa
nullscm asked this question in Q&A
Discussion options

You must be logged in to vote

It's probably easiest to use the MCP23017 class, and then read the encoder pins manually using digitalReadBuffered(). Once you have the state of all encoder pins, you can pass it to RegistersEncoders::update(). You can find some inspiration in https://tttapa.github.io/Control-Surface-doc/Doxygen/d6/dd2/Pin-Change-Interrupt-Encoders_8ino-example.html.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@tttapa
Comment options

Answer selected by nullscm
@nullscm
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants