Prusa MINI Firmware overview
|
Go to the documentation of this file.
8 #define JOGWHEEL_FLG_INV_DIR 0x01
9 #define JOGWHEEL_FLG_INV_ENC 0x02
10 #define JOGWHEEL_FLG_INV_E12 0x04
11 #define JOGWHEEL_FLG_2PULSES 0x08
15 #define JOGWHEEL_DEF_FLG (JOGWHEEL_FLG_INV_ENC | JOGWHEEL_FLG_2PULSES)
uint8_t pinEN2
Definition: jogwheel.h:22
jogwheel_config_t jogwheel_config
Definition: jogwheel.c:95
uint8_t jogwheel_changed
Definition: jogwheel.c:14
Definition: jogwheel.h:20
void jogwheel_init(void)
Definition: jogwheel.c:16
#define max(a, b)
Definition: wiring_constants.h:40
void jogwheel_encoder_set(int32_t val, int32_t min, int32_t max)
Definition: jogwheel.c:83
int32_t jogwheel_encoder
Definition: jogwheel.c:10
#define min(a, b)
Definition: wiring_constants.h:36
uint8_t jogwheel_signals
Definition: jogwheel.c:7
uint8_t flg
Definition: jogwheel.h:24
uint16_t jogwheel_button_down
Definition: jogwheel.c:13
const uint8_t[]
Definition: 404_html.c:3
void jogwheel_update_1ms(void)
Definition: jogwheel.c:22
struct _jogwheel_config_t jogwheel_config_t
uint8_t pinEN1
Definition: jogwheel.h:21
uint8_t pinENC
Definition: jogwheel.h:23