mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-03-22 01:31:21 +03:00
add servo-emulation @ stepper motors
This commit is contained in:
@@ -51,6 +51,7 @@ typedef struct{
|
||||
uint8_t haveencoder : 1; // bit2 - have encoder
|
||||
uint8_t donthold : 1; // bit3 - clear power @ stop (don't hold motor when stopped)
|
||||
uint8_t eswinv : 1; // bit4 - invers end-switches
|
||||
uint8_t keeppos : 1; // bit5 - keep current position (as servo motor)
|
||||
} motflags_t;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user