How to do that..i tried but when i upload program to arduino uno motor rotates only clockwise and pressing button stops the motor.OhMyCat!7 years ago Flag Not nice Inappropriate SpamReply Thank you!! I've changed code a little to get rid of direction, and make use minus sign for rota...