You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
233 B
11 lines
233 B
#define ENCODER_COUNT 4
|
|
|
|
#define ENC1 (0)
|
|
#define ENC2 (1)
|
|
#define ENC3 (2)
|
|
#define ENC4 (3)
|
|
|
|
void setupEncoder();
|
|
int16_t getEncoderCount(int enc);
|
|
int16_t getOldencoderCount(int enc);
|
|
void setOldencoderCount(int enc, int16_t val);
|