Flip the encoder columns for A and B
For some reason, the encoders that I bought have the A and B pins reversed.
This commit is contained in:
parent
34b3c675f9
commit
bba613d339
@ -4,8 +4,8 @@
|
|||||||
#define COL_SHIFTER ((uint16_t)1)
|
#define COL_SHIFTER ((uint16_t)1)
|
||||||
|
|
||||||
#define ENC_ROW 3
|
#define ENC_ROW 3
|
||||||
#define ENC_A_COL 2
|
#define ENC_A_COL 4
|
||||||
#define ENC_B_COL 4
|
#define ENC_B_COL 2
|
||||||
#define ENC_BUTTON_COL 0
|
#define ENC_BUTTON_COL 0
|
||||||
|
|
||||||
static bool colABPressed = false;
|
static bool colABPressed = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user