Fixed radius to 13.875
This commit is contained in:
parent
cd96bfbcba
commit
81b8bab3b9
@ -26,8 +26,8 @@
|
||||
// Rotary Encoder Parameters
|
||||
#define ROT_PULSE_COUNT 12
|
||||
#define ROT_DETENTS 24
|
||||
#define ROT_WHEEL_RAD 13
|
||||
//#define ROT_CW_UP
|
||||
#define ROT_WHEEL_RAD 13.875
|
||||
//#define ROT_REVERSE
|
||||
|
||||
// Input masks
|
||||
#define BUTTON_V 0x01
|
||||
@ -68,7 +68,7 @@ uint8_t *event_write = events;
|
||||
|
||||
uint32_t ms = 0;
|
||||
|
||||
#ifdef ROT_CW_UP
|
||||
#ifdef ROT_REVERSE
|
||||
const uint8_t PROGMEM rot_table[16] =
|
||||
{
|
||||
EVENT_NONE, EVENT_ROT_CCW, EVENT_ROT_CW, EVENT_NONE,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user