|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||
|
||||
|
Use a counter. Its 26.2 ms for each time User_Autonomous_Code() is called.
Code:
#define STAGE_1 0
#define STAGE_2 1
#define STAGE_3 2
inside User_Autonomous_Code()
static stage;
int counter;
state = STAGE_1;
while (autonomous_mode) /* DO NOT CHANGE! */
{
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MOEmentum: FYI - Post-ship "So, May I Sleep Now?" | Mr MOE | General Forum | 1 | 22-02-2006 00:54 |
| "call of function without prototype" | railerobotics | Programming | 7 | 21-01-2006 19:59 |
| New NEMO White Papers! "Creating a Killer Packet" and "25 Ways to Sponsor" | Jessica Boucher | Team Organization | 0 | 10-08-2005 10:55 |
| I'm having difficulties locating the programming code "gift" | Flynn | Programming | 3 | 09-01-2005 22:01 |
| "Thunderbirds" Vs. "Team America" Which one will rule the box office? | Elgin Clock | Chit-Chat | 3 | 07-09-2004 19:53 |