Go to Post The easiest and most effective way to do this for the Championship event is pre-competition scouting, with statistics. Nothing beats it. Hands down. Period. The End. Nothing's better. - Tom Bottiglieri [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Vex w/ MPLab dababyjebus FIRST Tech Challenge 27 25-04-2008 09:11
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
Programming Forum Warning Brandon Martus Announcements 10 29-12-2005 13:32
Alternative to limit switches? RbtGal1351 Electrical 27 10-12-2005 15:30
Robot Programming Education phrontist Programming 11 03-05-2004 07:32


All times are GMT -5. The time now is 02:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi