View Single Post
  #8   Spotlight this post!  
Unread 15-01-2006, 14:35
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: How to Start Autonomous mode?

Quote:
Originally Posted by Oumonkey
Where would I put that piece of code?
I don't know much about C, so I wanted to ask before I mess something up. don't hurt me...
You could put it right in Default_Routine() or Process_Data_From_Master_uP()

Just make sure you initialize the trigger variable outside the function.

Code:
int automode=0;
void Default_Routine(void)
{

what I had before....

}

Last edited by Tom Bottiglieri : 15-01-2006 at 14:37.