Okaliptus:
I want it to slow down without jumping.
You are using runSpeedToPosition() which does not use acceleration.
I'm changing the faders in the opposite direction without stopping the engine.
Are you changing the direction before the motor gets to the intended position?
If you use the run() function with a large number of steps and then call stop() before it gets to its destination it will slow to a stop with deceleration in the shortest time possible depending on your chosen acceleration rate.
Robin2:
You are using runSpeedToPosition() which does not use acceleration.
Are you changing the direction before the motor gets to the intended position?
If you use the run() function with a large number of steps and then call stop() before it gets to its destination it will slow to a stop with deceleration in the shortest time possible depending on your chosen acceleration rate.
...R
Yes, I change the motor before it reaches the desired position.
I don't know how to do that, please, can you teach me on the code?