I'm using the excellent TeensyStep library to control stepper motors in my project. It's definitely made some things easier.
There doesn't seem to be any API to access the private 'target' member in the Stepper class, nor any API in the controller to determine if the controller has reached it's target or not (ie: Is it still moving?) This would be handy after calling moveAsync, to poll the controller for the current status of its motors.
There doesn't seem to be any API to access the private 'target' member in the Stepper class, nor any API in the controller to determine if the controller has reached it's target or not (ie: Is it still moving?) This would be handy after calling moveAsync, to poll the controller for the current status of its motors.