MKS-SERVO42C
MKS-SERVO42C copied to clipboard
Position control (not x steps cw / ccw) via UART
It would be great to have an UART command to drive the stepper to an absolute angle position. At present, you can just move x steps cw or ccw in a defined speed and have to keep track of where you are in your software.
As input, the value, you would get from command 3 : e0 36 (read the angle of the motor shaft): angle(int32_t XX XX XX XX) + direction / speed YY would be great. For example e0 f9 YY XX XX XX XX.
I imagine, you could modify the get-back-to-zero function in the firmware ...
All the best, Martin
Your suggestion is great, we will add this feature in the new version, thank you!