Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   programming problem (http://www.chiefdelphi.com/forums/showthread.php?t=2630)

Ian W. 19-04-2002 12:19

if you got 255 from two joysticks in a row ,your robot would do a "not-happy dance". believe me, sending two 255 variables in the wrong place at the wrong time doesn't work very well. resets the robot, and everything goes crazy. so, no 255 variables from the joystick, ever! :D

ChrisA 20-04-2002 12:21

heres also the easiest way to swap the x-axis values. just open up your joystick and swap the wires for the x-axis. this wont affect your y-axis in any way and is not that hard to do.

to confirm my buddy mike soukup 255-x does work and is the simplest way our team found to swap the joystick values in the code. we use it in our code right now and it works without any problems whatsoever. we have a pretty cool piece of code based off of this whole equation.


All times are GMT -5. The time now is 21:22.

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