11-21-2008 04:03 PM
Hi
In my application I am acquiring data from a USB type a joystick. I want to scale these values that i am getting from the joy stick. I could use a linear scale. Is there way to use scaling function with joy stick functions? Thanks.
11-21-2008 04:14 PM
Of course. It would just be basic math functions. Where are you running into problems? What is the raw data you are getting from the joystick and what do you want to scale it to?
11-21-2008 05:44 PM
Hi
Thanks for the reply. The raw data i am geting from joy stick is between -32767 to +32768 (Y axis output). I want to scale it to 0 to 254. I want to control a servo using the joy stick data. Servo controller take values 0 to 254 for the position command.
11-21-2008 09:29 PM
11-24-2008 10:37 AM