Replies: 1 comment 1 reply
-
No, there is no such way and it would be a new feature. Definitely easier, than the callback for the enable pin, which is actually a callback at beginning and end of the movement. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. Many thanks for sharing this awesome project! As an amateur to hardware programming, I can't imagine how my projects can be done without your fantastic library.
My project involves controlling a slider to the desired place from a PC client. The Move() and MoveTo() functions are very helpful achieving this. However, currently the PC client does not know whether it is finished, unless querying the steppers in a loop. I am wondering if there is already a way to insert a callback function to the engine so that it will be executed to let the pc know the movement has finished. I know there is already a blocking option in the movement. My program invovles controlling multiple stepper motors so blocking is hard to deal with.
Beta Was this translation helpful? Give feedback.
All reactions