Hello! I am new to arduino and I want to control a dc motor with the bts7960 driver and I need the code to have soft start and stop, can someone help me with this?
Thank you all for the help, it worked as I expected but it will be very difficult for me. I have created a robotic arm with linear actuators. and controlling 3 motors with a code like this makes it very difficult to make a program. Does anyone know another way? The actuators have potentiometer feedback. what I have done with arduino was to make a manual joystick with 3 potentiometers and every time I move them it makes the actuators move forward or backward respectively, but now I need something more precise like generating a program that runs indefinitely. thanks for the contributions