Please put your code in its own window as seen in other posts. This can be done by placing [code] and [/code] around the code or use the </> icon. This makes it easier for others to read.
Please give us a circuit to show how the motors are connected. Hand drawn and photographed will do.
Weedpharma