View Single Post
  #5   Spotlight this post!  
Unread 21-03-2004, 14:38
warpspeed warpspeed is offline
Registered User
#0038 (Nonnebots)
Team Role: Programmer
 
Join Date: Mar 2004
Location: Middlebury, CT
Posts: 3
warpspeed is on a distinguished road
Re: One last question about our code

Quote:
Originally Posted by dddriveman
i don't know how to do that
underneath the "//add autonomus code here"
put
"Process_Data_From_Local_IO();"

then move your tracker code to the process_data_from_local_IO function at the end of the file.
Or you can call the tracker function from where ever it is. Like if the tracker code is named Track_Beacon(void). Then under process_data_from_local_IO put "Track_Beacon();"
that shuold take care of it.
__________________
void User_Autonomus_Code();
{
//add code here
pwm01 = pwm02 = 254;
(Broke_Bot == 1) ? (Turn_And_Run = 1) : (Smile_And_Nod = 1);
}

Last edited by warpspeed : 21-03-2004 at 14:42. Reason: left out some information