D
Deleted member 70062
Guest
Hello, I am using some Bourns PEC11L-4120FN0020 rotary encoders as per the recommended schematic in the data sheet connected to a Teensy 4.1 using the PJRC encoder library with no interrupts.
The problem I am facing is that the encoders will increment by 4 instead of 1 each time they are incremented or decremented. I believe this is a software issue I am overlooking because I have played around with capacitor and resistor values in the debouncing circuitry with no change.
[moderator edit: source code removed]
The problem I am facing is that the encoders will increment by 4 instead of 1 each time they are incremented or decremented. I believe this is a software issue I am overlooking because I have played around with capacitor and resistor values in the debouncing circuitry with no change.
[moderator edit: source code removed]
Last edited by a moderator: