Hey guys,
I'm currently building something using stepper motors.
Controlling everything works fine.
The only thing I cannot seem to find is how i know when the blocking is lifted on the runspeedtoposition() function.
Let's just assume i want a LED to light up if there's no block.
As soon as the runspeedtoposition() function is called the LED turns off.
Yeah, since runSpeedToPosition() is blocking, distanceToGo() won't work either. If you could figure out a way to use run() then run() returns 0 when all motors have reached their destinations and, of course, the other functions could be used.