Quote:
Originally Posted by waiakea2024
We are trying to make our arm move and then stop without it hitting the ground and messing up the motor.
|
This is where a limit (either a software one from a shaft encoder or potentiometer) is good. Otherwise, if you really want a delay, let us know (there are several ways of doing this, ranging from crude (loop counting) to good (setting up a timer and interrupt routine to get real-time clocks)