I am planning using 4 Mosfets to control a DC motor (27V, 5 A). I want to use the pot to control. When I set the pot in the middle, the motor should stop, turn to the left the motor run foward, and turn to the right, the motor turn backward. I don't known how to code it. Any one please help!
Thanks a lot