add encoder support (LIR-OM158A)

This commit is contained in:
Edward Emelianov
2024-03-23 17:43:38 +03:00
parent 7de5819361
commit b89b548e0a
11 changed files with 108 additions and 56 deletions

View File

@@ -21,6 +21,7 @@
#include <stdint.h>
void encoder_setup();
int read_encoder(uint8_t outbuf[4]);
void encoder_process();
int read_encoder(uint8_t outbuf[8]);
void CANsendEnc();
void CANsendLim();