View Single Post
  #11   Spotlight this post!  
Unread 13-02-2006, 22:35
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,112
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: OI Port Y-Cable and switch hook up!?

Quote:
Originally Posted by ghhs_1527
...i have no idea where to put the 2 on-off switches
You've used up all four of the switch inputs on both ports. The only thing left is to use analog inputs!

Connect the switches and some resistors in the following magical arrangement on port 3:
Code:
pin 1 ----+---- switch 1 ----+---- /\/\/\/ ----+---- /\/\/\/ ---- pin 11
          |                  |       20 k      |       33 k
          +---- /\/\/\/ -----+---- switch 2 ---|
                 10 k
Then read the value of p3_aux to see which combination of switches yields what number. That's very much like the way the white joystick's "hat" button works.