View Single Post
  #2   Spotlight this post!  
Unread 14-01-2004, 17:02
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: Programs question

by loading multiple programs.. im inferring that u mean different autonomous prgms.. what we are doing and what we did last year was put a simple switch that would turn the digital io pins high or low.. then u can open up the user_routines.h file and change the aliases of the pins to different things (ex: program1)..then by using that u could set up a simple if then situtation to load ur auto based on what the switch is turned to

ex..
if (program1 = 1)
{add ur code here}
elseif (program2 = 1)
{whatever else, u get the idea)