-
Posts
122 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by BULLITT83
-
hi guys, i try to use this line in my sketch for the F14 wing sweep pop out handle function : DcsBios::Switch2Pos pltEmergWingSweepltPop("PLT_EMERG_WING_SWEEPLT_POP", 52); it doesn't works , did someone managed to have the handle pop in and out using this one ? No problem to move it with a potentiometer, to put the cover down , but can't have it pop in .. Best regards
-
- 1
-
-
Rotary encoder and ARDUINO on F14 for HSD course
BULLITT83 replied to BULLITT83's topic in Home Cockpits
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 -
hi padonis, i've the same problem as you , do you confirm that you managed to do it with a 24 pulse rotary encoder ? or did you buy a 64 , or a 100 ?
-
Rotary encoder and ARDUINO on F14 for HSD course
BULLITT83 replied to BULLITT83's topic in Home Cockpits
i look immediatly thanks -
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:
-
thx a lot vic , i will try it and i'll try to understand the logic when you says it compiles on arduino , did you means it did it automaticcaly or you did it yourself ?
-
Hi guys , did someone can help me ? i build one sketch for my lights ( flaps , weapons lights , airbrakes ... ) and another one for my radio FQ display . Can you rewrite for me one sketch from these 2 ? melt them ? regards Guillaume : FIRST ONE : /* use '#define DCSBIOS_DEFAULT_SERIAL' instead if your Arduino board * does not feature an ATMega328 or ATMega2650 controller. */ #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" DcsBios::LED pltHookLight(0x12ee, 0x0008, 2); DcsBios::LED pltSwCoolOn(0x12e2, 0x4000, 13); DcsBios::LED pltMslPrepOn(0x12e4, 0x0001, 12); DcsBios::LED pltGunRateHigh(0x12e2, 0x1000, 10); DcsBios::LED pltMasterCaution(0x12e2, 0x0100, 11); DcsBios::LED pltMslModeBore(0x12e4, 0x0008, 7); DcsBios::LED pltSeamLock(0x12e2, 0x0800, 5); DcsBios::LED pltFlapsInd(0x13c0, 0x0fff, 2); DcsBios::LED pltSpdbrkFull(0x13ba, 0x0fff, 3); DcsBios::LED pltSlatsInd(0x13be, 0x0fff, A7); DcsBios::RotaryEncoder pltHsdKnobCrs("PLT_HSD_KNOB_CRS", "-1200", "+1200", 53, 51); DcsBios::Potentiometer pltEmergWingSweepltLever("PLT_EMERG_WING_SWEEPLT_LEVER", A0, false, 0, 385); DcsBios::Potentiometer pltVuhfVol("PLT_VUHF_VOL", A4); DcsBios::Potentiometer pltUhf1Vol("PLT_UHF1_VOL", A5); void setup() { DcsBios::setup(); } void loop() { DcsBios::loop(); } SECOND ONE : Tell DCS-BIOS to use a serial connection and use interrupt-driven communication. The main program will be interrupted to prioritize processing incoming data. This should work on any Arduino that has an ATMega328 controller (Uno, Pro Mini, many others). */ #define DCSBIOS_IRQ_SERIAL #include "DcsBios.h" #include <LedControl.h> /* pin 7 is connected to the DataIn pin 6 is connected to the CLK pin 5 is connected to LOAD We have only a single MAX72XX. */ LedControl lc=LedControl(22,26,24,1); /* paste code snippets from the reference documentation here */ //PILOT ARC-159 Frequency void onPltUhfStringFreqChange(char* newValue) { lc.setChar(0,0,newValue[6],false); lc.setChar(0,1,newValue[5],false); lc.setChar(0,2,newValue[4],false); //true=this is the full stop after digit no 3 lc.setChar(0,3,newValue[2],true); lc.setChar(0,4,newValue[1],false); lc.setChar(0,5,newValue[0],false); } DcsBios::StringBuffer<7> pltUhfStringFreqBuffer(0x1248, onPltUhfStringFreqChange); void setup() { DcsBios::setup(); //This initializes the MAX7219 and gets it ready of use: lc.shutdown(0,false); //turn on the display lc.setIntensity(0,10);//set the brightness lc.clearDisplay(0); //clear the display //The following series of "lc.setChar" commands are used to display the number 8 in each digit. This allows us to see each that LED segment is actually working. lc.setChar(0,0,'8',false);// The first number...0, means there are no other MAX7219's connected to the one we are using. lc.setChar(0,1,'8',false);// The second number...1, indicates the digit you are sending data too...digit numbering starts at 0. lc.setChar(0,2,'8',false);// The third number in single quotes is the character thats displayed lc.setChar(0,3,'8',false);// The statement... true/false is to turn on or off the decimal point (dp) for that particular digit. lc.setChar(0,4,'8',false); lc.setChar(0,5,'8',false); } void loop() { DcsBios::loop(); }
-
Thanks a lot for your answer LES , it helps me a lot now i'm sure my probleme comes from elsewhere i'll search a little more ! thanks a lot ! Guillaume
-
@lesthegrngo I'm trying also to send COM FQ at a MAX7219, i've a question : do you use your arduino for the 5 volts to "feed" the MAX7219 I've problems, testing my sketch with only th eMAX7219 works perfectly, when i have it working with others items ( flaps indicator, gear position leds...) my MAX7219 doesn't works correctly , looks like it has not enough current. Regards guillaume
-
Capt Zeen F-14 Tomcat v1.0 Helios profile !!!
BULLITT83 replied to Capt Zeen's topic in DCS: F-14A & B
i found a solution forget my request -
i found a solution. forget my request
-
i've a small question guys : i run a 3 monitor F14 SIMPIT. i use helios for few hours and want to thanks a lot CPT ZEEN ! But actually the right panel appear on my monitor number 2 when i push the right panel button. ( on the monitor 1 is the main view ). I would like to see the right panel on my monitor number 3 .how to do that ? using the profile editor the right panel is only available on monitor 2 ..; i try to make a screen shot to join to my question. [/img]
-
Capt Zeen F-14 Tomcat v1.0 Helios profile !!!
BULLITT83 replied to Capt Zeen's topic in DCS: F-14A & B
hello i got a small question . i run a 3 monitor simpit. i start with HELIOS ( and thanks a lot for your works ! ) but on F14 i want the right panel to appear on my monitor number 3 . actually it appears on monitor number 2 . how to change that ? -
Hi , yes as i said thanks a lot for what you've done, very good job. i think most of us can understand it's not a priority in a life. so we will wait . publishing the files as they are can be a very good idea / starting point . this could help us.
-
just an idea like this ..; if i understand well this thread : why not looking at what is used on old pinball ? i rebuild pinball from the 60's and 70's ... flip coils are very strong ....
-
hi guys ! some news : it works perfectly , i swap to another MAX7219 module and it's perfect , i just have to swap the numbering as CRASH TEST PILOT says. Thanks to you HAN SOLO and CRASH TEST PILOT !!
-
if i plug it on the output side nothing happen , only 88888888
-
hello HAN, i've plug it at the INPUT , not the output and here is a link to the one i bought https://www.amazon.fr/dp/B0797NRMQH/ref=pe_3044141_189395771_TE_dp_1
-
Hi crash test pilot . y ou change thé library code or the arduino sketch ?
-
does it comes from my library ? or DCS BIOS f14 ?
-
HAN SOLO !! it works !! i follow your explanation and it almost works , please can you help me to tune it ? i have a small display problem , numbers are flip-flopped ! look at pictures the frequency is 316.000
-
I buy a CR10S 3D printer almost only for this handle and your project ! very nice job !
-
Hi HANSOLO !! Thanks a lot for your full answer , i will test that as soon as possible and come back to give you the result. For the moment i don't even try to plug th eMAX7219 , i'll start wiring it this evening. I have an 8 digit display , not able to find a 6 digit , i plan to put a physical mask on the module to hide the 2 unused digit just one question do i have to change something in my DCS BIOS setting ? do i have to add a new library ? i don't think so ? Guillaume
-
So with the help of BLACKLIBRARY i found that the frequency line is the "string" one. PILOT ARC-159 Frequency (string) void onPltUhfStringFreqChange(char* newValue) { /* your code here */ } DcsBios::StringBuffer<7> pltUhfStringFreqBuffer(0x1248, onPltUhfStringFreqChange); now i'll try to write my sketch to display it. From what i read it start like that : void onPltUhfStringFreqChange(char* newValue) { /* pin 7 is connected to the DataIn pin 6 is connected to the CLK pin 5 is connected to LOAD We have only a single MAX72XX. */ LedControl lc=LedControl(7,6,5,1); void setup() { */ lc.shutdown(0,false); /* Set the brightness to a medium values */ lc.setIntensity(0,8); /* and clear the display */ lc.clearDisplay(0); } */ DcsBios::StringBuffer<7> pltUhfStringFreqBuffer(0x1248, onPltUhfStringFreqChange); ... someone can apply some correction ?
-
hi guys , i would like to go through a new step on my F14 simpit Displaying radio frequency on a MAX7219 7 segment display But now i've a lack of knowledge . i found in the DCS BISO control reference this line : PILOT ARC-159 Frequency (string) void onPltUhfStringFreqChange(char* newValue) { /* your code here */ } DcsBios::StringBuffer<7> pltUhfStringFreqBuffer(0x1248, onPltUhfStringFreqChange); but also PILOT Dial 3 ARC-159 Frequency and PILOT Dial 4 ARC-159 Frequency i don't understand which one is the frequency display ? and to write a sketch to send the frequency value to the MAX 7219 ??? Please help me GOOSE !! regards Guillaume