Hi all just started with programming an Arduino UNO - I have no previous programming background!!
I started with Evil Genius book and I want to make a table feed for my milling machine, but right now im just experimenting with dc motor control.
What I have set up is a H Bridge (HMD-02) 2 buttons and 2 potentiometers and 1 dc motor
What i want it to do is 1 Nothing until I press 1 button then Turn forward at speed set by pot 1 , stop when i let go of button and turn backward at speed set by pot 2 when I press button 2???
MY sketch starts the motor running as soon as I compile and I cant find the problem??????
Please any help??
Many thanks.

