View Single Post
  #2   Spotlight this post!  
Unread 21-02-2005, 22:02
His Eminence's Avatar
His Eminence His Eminence is offline
Registered User
None #0408 (Roboticks)
Team Role: Webmaster
 
Join Date: Feb 2004
Location: Florida
Posts: 12
His Eminence is on a distinguished road
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.