jonawadl:
Everything worked perfectly. I even added in a servo and a pot and controlled the motion of the servo using the pot. Wired everything worked perfectly.
Then the obvious question is how does the motor control code in the non-working program differ from the working program?
Can you remove the "broken" motor control code and replace it with the working code?
...R