View Single Post
  #7   Spotlight this post!  
Unread 26-01-2005, 12:22
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using Custom Inputs on the Controller Board

Unless you put in a specific check, the software doesn't care about enabled vs. disabled. The only difference is whether or not the RC pwm and relay outputs are activated.

Autonomous vs. manual is another story. If you put code in the autonomous section, it will only run if autonomous mode is commanded (by grounding the "autonomous" pin on the competition port). I'm not sure if the auton_mode flag is overriden by the "disable" pin or not.