PAMI_2024/QEI.h
2024-03-15 23:45:05 +01:00

16 lines
263 B
C

struct QEI_t{
int value;
int delta;
};
enum QEI_name_t{
QEI_A_NAME=0,
QEI_B_NAME=1,
};
extern struct QEI_t QEI_A, QEI_B, QEI_C;
void QEI_update(void);
void QEI_init(void);
int QEI_get(enum QEI_name_t qei);
float QEI_get_mm(enum QEI_name_t qei);