BULLITT83 Posted February 18, 2020 Share Posted February 18, 2020 Hi guys, i'm having problem with the HSD course. I try to put a rotary encoder to control this function . So i put the skech line i found on DCS control reference page .. but when i turn my rotary encoder the pointer jump not step by step but for 10 , 20 some times 90 degrees ? ?? i change values on the value on the sketch line "-3200" "+3200" to "-500" "+500" nothing really change ...... did i ve to change the F14.LUA in DCS ARDUINO library ? :helpsmilie: Link to comment Share on other sites More sharing options...
Hansolo Posted February 18, 2020 Share Posted February 18, 2020 Hi BULLITT83, Try and look here https://forums.eagle.ru/showthread.php?t=187758 May be what you are looking for Cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album Link to comment Share on other sites More sharing options...
BULLITT83 Posted February 18, 2020 Author Share Posted February 18, 2020 i look immediatly thanks Link to comment Share on other sites More sharing options...
BULLITT83 Posted February 19, 2020 Author Share Posted February 19, 2020 Ok i read that maybe my encoder is not ok for such precision needed for HSD so i try another function it works perfectly with AIRSPEED INDICATOR KNOB ( F14b remember) so i try another one : ARA 63 channel knob : i write this in my sketch : DcsBios::RotaryEncoder pltAra63Chan("PLT_ARA63_CHAN", "DEC", "INC", 51, 53); i find it on the ref page but my F14 library is writen as a multiposi switch : defineMultipositionSwitch("PLT_ARA63_CHAN", 11, 3322, 912, 20, 1/19,"ANARA63 Panel" ,"PILOT AN/ARA-63 Channel Knob") so i modify the F14B.LUA with : defineRotary("PLT_ARA63_CHAN", 11, 3322, 912, "ANARA63 Panel" , "PILOT AN/ARA-63 Channel Knob") and it doesn't works ! where am i wrong ? i think that on the library code 11, 3322, 912 is some kind of adress for this function ? where to find it , in order to check it ? best regards Hope my questions are not to "newbies" ones Link to comment Share on other sites More sharing options...
Recommended Posts