The Arduino IDE includes a servo sweep example that illustrates how to manage the speed.
And the AccelStepper library is commonly used for the non-blocking control of stepper motors.
The use of the delay() function is rarely a good thing.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16