Quote:
|
Originally Posted by Tom Bottiglieri
You can also have a button on one of your joysticks to toggle the Auto mode function.
Code:
int automode=0;
if(p1_trig==1)autmode=1;
while(automode==1)
{
if(p1_trig==1)autmode=0;
User_Autonomous_Code();
}
|
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...