So i managed to get the robot built, and the servo functions working.
Unfortunately i cannot seem to find a way to code it to do the following:
Drive at a speed of 120 for 2 seconds
Wait for 2 seconds
Reverse at a speed of 60 for 1 second
I can get it to go forward and back but i cannot get it to drive for a set period of time.
is this an issue with using PWM? I did try using serial packets but it failed
anyone got any idea?
Here is my code
void drive(int speedo)