nosecone Posted October 29, 2015 Report Share Posted October 29, 2015 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 Link to comment Share on other sites More sharing options...
Pete Dowson Posted October 29, 2015 Report Share Posted October 29, 2015 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 Link to comment Share on other sites More sharing options...
nosecone Posted November 9, 2015 Author Report Share Posted November 9, 2015 Hi Pete 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 Regards Rhys Link to comment Share on other sites More sharing options...
Pete Dowson Posted November 9, 2015 Report Share Posted November 9, 2015 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now