View Single Post
  #4   Spotlight this post!  
Unread 20-02-2006, 11:14
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: Switches? Programming? Help? :)

Quote:
Originally Posted by Idaman323
pins 9 and 15 are names p3_sw_aux1 and p3_sw_aux2 correct? And pins 5 and 8 are called p4_sw_trig and p4_sw_top, correct?
Not correct.

You're getting confused by the fact that ports 2 and 4 each have four extra inputs that are detected as if they were different inputs on ports 3 and 1. Pins 9 and 15 on the port 2 connector are p3_sw_aux1 and p3_sw_aux2.

The inputs you want to use are pins 2, 7, 10, and 14. Unless you can explain exactly why you need to be doing something unusual, don't use the extra inputs on pins 5, 8, 9, and 15. Especially since those pins are LED outputs on ports 1 and 3.