Broadcast button presses to CAN
This commit is contained in:
@ -9,8 +9,8 @@ extern "C" {
|
||||
|
||||
#define NUM_BUTTONS 6
|
||||
#define NUM_ENCS 2
|
||||
#define BUTTON_MIN_PRESS_TIME 50 // ms
|
||||
#define ENC_MAX_PHASE 50 // ms
|
||||
#define BUTTON_MIN_INTERVAL 50 // ms
|
||||
#define ENC_MAX_PHASE 50 // ms
|
||||
|
||||
typedef enum { UMK_BTN_RELEASED, UMK_ENC_CW, UMK_ENC_CCW } ButtonMessageKind;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user