RPiPico-Holonome2023/QEI.h

12 lines
190 B
C
Raw Normal View History

2022-11-18 14:16:13 +00:00
#include "Moteurs.h"
struct QEI_t{
int value;
int delta;
};
2022-11-18 14:16:13 +00:00
extern struct QEI_t QEI_A, QEI_B, QEI_C;
void QEI_update(void);
2022-11-18 14:16:13 +00:00
void QEI_init(void);
int QEI_get(enum t_moteur moteur);