Encoders change twice per detent. Make them change only once?

PAAUX4

Well-known member
Encoders change between the detents and also on the detents. I seem to remember in some library somewhere there was an option to change this. Is there? Thanks everyone.
 
When using the Teensyduino supplied Encoder library, you will see that the counter increases or decreases by 4 when you rotate a rotary encoder from one detent to the next detent.
Just divide the count by 4 and you have 1 count/detent.

Is this what you mean or...?

Paul
 
Paul, that's not it but thank you. I'm using the built-in library. There are 12 detents(approx) but 24 transitions. I can get it to increment by 1 if I leave the knob between detents but it's very fiddly.
Using EC-11s I think if that matters.
 
Back
Top