View Single Post
  #2   Spotlight this post!  
Unread 16-02-2005, 14:08
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: Help with Selector Switch

Quote:
Originally Posted by Slick
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
The pwm pins are outputs. You need to plug your switch in to one of the digital inputs, and read the value of that input. See the RC documentation for details on which pins to connect to and how to access it in software.