View Single Post
  #1   Spotlight this post!  
Unread 14-02-2007, 14:41
LieAfterLie's Avatar
LieAfterLie LieAfterLie is offline
Registered User
FRC #2028
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Hampton, VA
Posts: 35
LieAfterLie is an unknown quantity at this point
Re: Joystick Programming

I already know the pins used by the default code and which is analog and all that, I just need a way to use a different joystick with that same code. If I knew the pinout (which pins are which axes/switches and all that) I could switch pins around by cutting and resoldering wires in the cable, but I can't find this joystick's pinout or how to simply use this joystick with the same code and pins. I want to use these joysticks as they are optical but still use serial ports (the kop sticks use pots, not as good). They're more accurate and don't have to be calibrated, also I get the nifty twist axis (useful for our omniwheel), plus we aren't forced to use 2 right handed sticks (which isn't very comfortable). Do I have to do some confusing timer sampling custom driver thingy? I mean, it does have 9 switches, 4 analog axes and a digital hat button, and it only has 9 used pins there (it's still DB15 though). If I atleast knew which one was the power, I could test from there to each other pin and push buttons and stuff with an ohmeter and make my own pinout (whatever the technical name is).
__________________
SEMPER UBI SUB UBI

Last edited by LieAfterLie : 14-02-2007 at 14:50.