View Single Post
  #4   Spotlight this post!  
Unread 30-01-2007, 17:13
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: From MPLAB To EASY C PRO

In operator control you should do a infinte loop and thats it. The rest of the time any loops are optional. If you break out of the infinite loop in operator control the robot will just stop moving.

People like using timers in autonomous mode or ending the auto program once the sequnce has been completed. This is what Neil did in the code your are talking about. If you set done = 1 then code would end. Because ! = not so
while( !done) means while ( (not)done).
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni