Fixed radius to 13.875

This commit is contained in:
DWW
2021-11-15 14:37:16 +02:00
parent cd96bfbcba
commit 81b8bab3b9

View File

@@ -26,8 +26,8 @@
// Rotary Encoder Parameters // Rotary Encoder Parameters
#define ROT_PULSE_COUNT 12 #define ROT_PULSE_COUNT 12
#define ROT_DETENTS 24 #define ROT_DETENTS 24
#define ROT_WHEEL_RAD 13 #define ROT_WHEEL_RAD 13.875
//#define ROT_CW_UP //#define ROT_REVERSE
// Input masks // Input masks
#define BUTTON_V 0x01 #define BUTTON_V 0x01
@@ -68,7 +68,7 @@ uint8_t *event_write = events;
uint32_t ms = 0; uint32_t ms = 0;
#ifdef ROT_CW_UP #ifdef ROT_REVERSE
const uint8_t PROGMEM rot_table[16] = const uint8_t PROGMEM rot_table[16] =
{ {
EVENT_NONE, EVENT_ROT_CCW, EVENT_ROT_CW, EVENT_NONE, EVENT_NONE, EVENT_ROT_CCW, EVENT_ROT_CW, EVENT_NONE,