View Single Post
  #1   Spotlight this post!  
Unread 16-02-2005, 13:19
Slick Slick is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Martinsville, VA
Posts: 21
Slick is an unknown quantity at this point
Help with Selector Switch

I'm having a problem with receiving input from a switch to tell the robot which Autonomous Code to run. I have set a variable in the program and currently I have a switch is plugged into pwm01. I was hoping to use this switch to relay a signal to the robot, set the variable, and run the code the variable selects. Is all of this done in the "user_routines_fast.c" file or do I need to modify other files? Any examples of Coding will be a great help....