mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
add encoder support (LIR-OM158A)
This commit is contained in:
@@ -46,5 +46,7 @@ extern volatile uint32_t Tms;
|
||||
|
||||
// SPI1 is encoder, SPI2 is ext
|
||||
#define ENCODER_SPI (1)
|
||||
// read encoder each 10ms
|
||||
#define ENCODER_RD_INTERVAL (10)
|
||||
|
||||
void hw_setup();
|
||||
|
||||
Reference in New Issue
Block a user