Chris Howard

Results 2 comments of Chris Howard

I have this optical rotary encoder: https://www.alliedelec.com/grayhill-61c11-01-08-02/70217116/ It has clicks, and gives me one count for every two clicks when turning slowly.

This worked for me: #ifdef ONE_STEP // one-to-one state transition - ignore disallowed transitions const unsigned char ttable[4][4] = { // 00 01 10 11 {0x00, 0x01 | DIR_CCW, 0x02...