Demystifying Rotary Encoders (one more time) Part 2-2
So how does the program work? Simple, if the knob turns to the right, A goes high followed by B, meaning that when A goes high, B is still low. If the knob turns to the left, B goes high, A is still low.
So as soon as a rising edge is...