Search found 1 match
- Tue Nov 13, 2018 6:50 pm
- Forum: User Projects
- Topic: Rotary Encoder Driver, (polled, +button)
- Replies: 2
- Views: 5181
Re: Rotary Encoder Driver, (polled, +button)
When the code finds a low-to-high transition on the A channel, it checks to see if the B channel is high or low and then increments/decrements the variable to account for the direction that the encoder must be turning in order to generate the waveform found.