The example code says: oldEncoderState &= 0xC0; where it should probably say: oldEncoderState &= 0x0C; if the value of oldEncoderState is to stay within [0:15].
↧
The example code says: oldEncoderState &= 0xC0; where it should probably say: oldEncoderState &= 0x0C; if the value of oldEncoderState is to stay within [0:15].