Hi, i have an arduino duemilanove with a Arduino-2 Amp Motor Driver Shield(L298P), and 2 DC motors. and i would like to pre program how the motors spin (Aspects such as its speed). Im sure this is possible. What my final goal is to drive my device through a maze without any external interactions. This is done by a 2 wheeled device, with 2 separate motors controlling its 2 separate wheels. I have got the motor running, but am unable to control how the motor speed changes over time.
Here is a mind map of what i want...
motor A and B run at full speed for 3 seconds.
motor A stops, While motor B runs at half speed for 1 second.
motor A and B then again run at full speed for 3 seconds.
How can i make this happen?