Jump to content
The simFlight Network Forums

FSUIPC and stepper motor...


Recommended Posts

3 hours ago, TIXEUIL said:

I would like to read the X and Y values of a joystick (FSX under Win7) to transmit them via USB to an ARDUINO. (stepper motor controller). Can FSUIPC do this work?

It can help you do it. To transmit to the Arduino would require a Lua plug-in which you'd need to write. The joystick would then be assigned to send the axis values to this plug-in. The plug-in should be preloaded and set to wait for axis values as events. The events would be changes in the main Parameter which is sent by assignment in FSUIPC axis assignments to the LuaValue control.

You'd need a registered (i.e. paid for) FSUIPC. Take a look at the documentation, expecially for the Lua features and the examples provided. We can help in more detail when you'd done so.

Pete

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.