I am using a DC motor which is connected to a spindle combined with a string potentiometer for positional feedback. I want to be able to move the motor to a predefined position and use acceleration and deceleration to get there. The speed of the motor will be controlled with a PWM signal.
Programming this all be myself would be possible, but I am sure there is already a library to do that, which will be a much easier and probably a more reliable solution. But so far I was only able to find libraries for stepper motors or servo motors. Or could I use a library for servo motors? If so, which one would be best suited for my task?
Thanks in advance.