Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   LabView and Data Acquisition (http://www.chiefdelphi.com/forums/forumdisplay.php?f=150)
-   -   Location of trig, top, aux1, aux2 bits? (http://www.chiefdelphi.com/forums/showthread.php?t=42842)

mfwit 28-01-2006 12:56

Location of trig, top, aux1, aux2 bits?
 
What byte contains the trig, top, aux1 and aux2 bits?

I have the OI jumper set and just cant seem to find those bits anywhere.

Danny Diaz 28-01-2006 13:52

Re: Location of trig, top, aux1, aux2 bits?
 
Quote:

Originally Posted by mfwit
What byte contains the trig, top, aux1 and aux2 bits?

Looks like you're gonna have to go bit diving - try looking in the "SWITCHES_A", "SWITCHES_B", and the "PORT X AUX" bytes. I don't have a controller in front of me, but I would guess that SWITCHES_A and SWITCHES_B contains bits for all of the joysticks (one is top and one is trig I bet), and "Port X Aux" bytes would contain the particular port's auxilliary bytes.

-Danny

mfwit 28-01-2006 14:10

Re: Location of trig, top, aux1, aux2 bits?
 
The switches_A byte contains:

0-?
1-?
2-?
3-?
4- port 3 trig
5- port 3 top
6- port 3 aux1
7- port 3 aux2

Thanks for your help danny!


All times are GMT -5. The time now is 00:17.

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