2024-03-15 22:45:05 +00:00
|
|
|
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);
|
2024-05-09 14:58:54 +00:00
|
|
|
void QEI_init(int);
|
2024-03-15 22:45:05 +00:00
|
|
|
int QEI_get(enum QEI_name_t qei);
|
|
|
|
float QEI_get_mm(enum QEI_name_t qei);
|