Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi All 

I'm currently trying to get my head around the rotaries lua example in the modular s folder. I am using leo Bodnar board and cts288 rotary encoders to adjust adf vor hsi etc   and finding it hard to get my head around LUA files .

 

I installed the lua rotaries examples and placed in the Modular's folder. Lua show up with several entries but just how you use them has me stumped. 

 In fsuipc under buttons +switches I  can set my rotary encoder to the adf card to increase and decrease  but that's about it not sure how the lua plugin works 

Rhys

Posted

Hi All 

I'm currently trying to get my head around the rotaries lua example in the modular s folder. I am using leo Bodnar board and cts288 rotary encoders to adjust adf vor hsi etc   and finding it hard to get my head around LUA files .

 

I installed the lua rotaries examples and placed in the Modular's folder. Lua show up with several entries but just how you use them has me stumped. 

 In fsuipc under buttons +switches I  can set my rotary encoder to the adf card to increase and decrease  but that's about it not sure how the lua plugin works 

 

First, have you assigned the same increment or decrement control to both "press" and "release" actions, so you get one inc/dec per click?

 

The Rotaries Lua is just an EXAMPLE, and as set it  works with the 4 rotaries on the GoFlight RP48 . As an example it is there to show what can be done.

 

Take a look at some of the other threads on the subject, for instance

http://forum.simflight.com/topic/79415-rotarieslua/?hl=rotaries

 

Pete

  • 2 weeks later...
Posted

Thank you very much for your reply. I came across this post dating back a while http://forum.simflight.com/topic/68260-rotary-encoder-input-speed/

So I Placed the LUA file in the modular's folder, is that it?. I assigned my adf card but no change in encoder speed I realise its a example lua but for a real newbie how do you get them to work  

 

You need to change it to suit whatever hardware you are using. You'll need to go through it and program it as you need. It is not a beginner's job. The example is there to show how it can be done, but it is only an example.

 

Pete

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.