Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   joystick buttons and a quick question (http://www.chiefdelphi.com/forums/showthread.php?t=34774)

h0x4r 16-02-2005 18:49

joystick buttons and a quick question
 
first of all, are u allowed to take code with u then upload it to the robot there, and the 3 buttons on the joystick, not the trigger and thumb button, how do u call those in code and use it for the robot?

Alan Anderson 17-02-2005 00:06

Re: joystick buttons and a quick question
 
Quote:

Originally Posted by h0x4r
first of all, are u allowed to take code with u then upload it to the robot there, and the 3 buttons on the joystick, not the trigger and thumb button, how do u call those in code and use it for the robot?

First, you're only supposed to do software development when it's legal to work on the robot. That means during the six-week build, at competitions, and during the "fix-it window" after each. You can do analysis and prototyping any time you want, but you're not supposed to write actual code to be installed on the robot.

Second, the joystick switch to the left of the "hat" is p#_sw_aux1, the one to the right is p#_sw_aux2, and the hat itself is an analog value on p#_wheel that changes depending on which direction it's being moved.

h0x4r 17-02-2005 00:18

Re: joystick buttons and a quick question
 
thxs


All times are GMT -5. The time now is 18:26.

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