Go to Post Banned for being a nerd. There are no nerds in here! - Schnabel [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-11-2002, 10:23
f22flyboy's Avatar
f22flyboy f22flyboy is offline
Distributor of Mayhem
#0540 (Rhythmic Disturbance)
 
Join Date: Oct 2002
Location: Richmond, VA
Posts: 199
f22flyboy will become famous soon enoughf22flyboy will become famous soon enough
More than 2 aux switches in 1 port

Is there a way to do more than 2 aux switches in 1 port? This is my first year doing something other than the construction of the bot, so sorry if I ask stupid questions.

I think I could do it by wiring a switch into the pins normally used by the joystick buttons, but if there is a better way I would like to know.
__________________
Godwin Robotics Association- Rhythmic Disturbance

Team 540 Forums

FIRST Look... FIRST Shot... FIRST Kill.
  #2   Spotlight this post!  
Unread 01-11-2002, 13:59
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Each port can have a maximum of four switches and four axes. The switches can be wired into trig, top, aux1, and aux2 and are normally used for limit switches, optical sensors, or the pressure sensors. The axes are wired into X, Y, Wheel, and Aux. They are used for pots or gyros.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #3   Spotlight this post!  
Unread 01-11-2002, 14:44
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
http://www.innovationfirst.com/FIRST...sersManual.pdf

Each port, as said above, has 4 analog inputs (0-5V) and 4 digital inputs (on/off).


The pinouts for the ports start on page 14 in the link above. The function isn't set in stone, because it can be used for anything really. You just gotta program it different then.

If you run out of switches you can always start using analog inputs.... You'll just have two settings when you program it: 0 or 255.
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.
Closed Thread


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
Competition port cable Ken Leung Electrical 2 17-09-2003 08:12
Fried program slots? Jeff Waegelin Programming 18 19-03-2003 18:08
Dashreader.dll: A Visual Basic .NET user control to read the dashboard port Ameya Programming 4 12-01-2003 23:40
Change to Initializing Inputs and Outputs Jferrante Programming 4 07-01-2003 11:36
Need help with custom switches archiver 2001 3 24-06-2002 00:35


All times are GMT -5. The time now is 14:51.

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