View Single Post
  #3   Spotlight this post!  
Unread 15-01-2003, 16:42
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
autonomous mode is aliased as auton_mode in the code...

here's some code to try:

if auton_mode = 1 then do_auto_stuff
'driver code here
goto end_of_auto

do_auto_stuff:
'auto code here
end_of_auto:

put that in the main loop...

it's really basic and has no real value unless you have code to put in there...but it should help out a little


*jeremy
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com