|
Re: Simple Autonomous Code
Set a simple counter that is incremented every time. Then use conditional statements (like an if statement) to do certain things within a set time. As for actually running the motors, you have to find out which PWM you are using. Then, do something like this:
pwm01=235;
assuming pwm01 is the PWM you are using on your robot.
__________________
Know.
|