Thread: More Buttons
View Single Post
  #12   Spotlight this post!  
Unread 08-02-2008, 17:58
Pavan Dave's Avatar
Pavan Dave Pavan Dave is offline
Busy in College
AKA: I am John Gault.
FRC #1745 (P-51 Mustangs) FRC #118 (Robonauts)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Richardson, Texas
Posts: 1,387
Pavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond reputePavan Dave has a reputation beyond repute
Send a message via AIM to Pavan Dave
Re: More Buttons

Quote:
Originally Posted by eugenebrooks View Post
Eight digital inputs are available on port 4.
Four of them are also on port 1, but you can
disable them on port 1 with the disable switch.
If you need even more digital inputs, use port
2 and port 4, and then attach two joysticks to
port 1 or port 2 using a Y cable.

Eugene
To elaborate, on the OI you have 4 ports. Two of those ports (ports one and three) you have room for four analog signals, four digital signals, and four output signals (used for LEDs) as well as the power and ground. On the other two ports (ports two and four) you have room for four analog signals and eight digital signals as well as the power and ground.

That said you can create a Y cable so that on one joystick your x axis is p3_x and your y axis is p3_y and your trigger and top are p3_sw_trig and p3_sw_top respectively. At the same time, on the same port, the x axis for your second joystick would be p3_wheel and your y axis would be p3_aux and your trigger and top would be p3_sw_aux1 and p3_sw_aux2 respectively.




Pavan.
__________________
Times change. People change. Teams change.
---
2008-Present: FRC1745, P51-Mustangs - Mentor
2005-2008: FRC118, Robonauts - Alumni
National Director of Philanthropy - Delta Epsilon Psi Fraternity, Inc.
1745 - 118 - ΔΕΨ

Last edited by Pavan Dave : 08-02-2008 at 18:04.