Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

usb joystick

For general discussion related FlowStone

usb joystick

Postby jac224 » Fri Mar 22, 2013 4:58 am

Hi, I'm new flowstone, a few days ago I started to program, and I have a problem.
I want to control servos with Phidget interface and a USB joystick. until there ok, but connecting the joystick and reading data with ps2 module, this returns me readings from -1 to 1. the problem is that I need to have values ​​from 0 to 180 to control the servos and therein lies the problem, I do not know how.
I would greatly appreciate if someone could help me.
jac224
 
Posts: 1
Joined: Wed Mar 13, 2013 5:00 am

Re: usb joystick

Postby nix » Fri Mar 22, 2013 5:47 am

heya,
add 1, and multiply by 90
Hope works
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am


Return to General

Who is online

Users browsing this forum: No registered users and 5 guests