Help with a rotary encoder #405
Unanswered
thesyncopater
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Which version of Control Surface are you using? Did you install version 1.2.0, This thread might be useful: #328 If you're using the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have built a control surface with 9 pots, 7 rotary encoders and 7 buttons. The pots (except 1) and the buttons are connected to two multiplexers, and the encoders are connected to the Arduino digital inputs. I'm using an Arduino Zero.
I'm having trouble with a single rotary encoder that I have (1 of 7). All the other buttons, pots, and encoders are working except for one of the encoders. I've checked all the wiring connections but I'm still baffled. I was initially concerned about the interrupt pin layout and tried to add a line to optimize the interrupts (that I found on the encoder library page).
This is the segment in question.
The rest of the code is below. There's probably ways to make this code shorter and more efficient but as of now that might be beyond my skills. Thanks for any help you might have.
Beta Was this translation helpful? Give feedback.
All reactions