Jump to content

Exo7

Members
  • Posts

    90
  • Joined

  • Last visited

Everything posted by Exo7

  1. Hi all, not really a bug, but there is 2 wrong mark on the left side of the VTB (see pics) : it's not P and B, but it's greek letters "Rho" and "Theta" Thanks,
  2. Exo7

    Gun Arm Switch

    Gun Arm Switch Yep, i will program it with Master Arm in my pit.. Don't be hurted, I love this module and your work and communication !! Exo7
  3. Exo7

    Gun Arm Switch

    It's not this one ... It's the one on top of this one... This shown in the pic, is the magic search button...
  4. Exo7

    Gun Arm Switch

    Gun Arm Switch Because for simpiters with a real M2000 stick, there is no possibilty to monitor the position of the trigger security... So Master arm only is better for me... So if its not possible to disable it, i will find an another way by programning this new button with the master arm switch..
  5. Exo7

    Gun Arm Switch

    Thanks for the update Zeus. Can we "disable" this function and stay with the master arm switch ? Exo7
  6. Correct, it's the "buster" mark. you're 100% MIL power or "full dry" (no PC), after this line you're in PC.
  7. you have to assign a key to "AUX RADIO SELECT" and select aux radio BEFORE to open the radio menu. you will see "UHF" on top of the radio menu. This is quite normal that you can join the tanker on the main radio with 251.00 selected. the main radio is not just a VHF radio, it's a UHF and VHF radio (U/VHF), depending of the selected frequency..
  8. thanks Ian, i will try on another card that MEGA (UNO or NANO) and with / without IRQ_SERIAL
  9. Correct, i approuve. I don't know why "REAL" come here, maybe my mind think about anything else while typing... ;)
  10. Don't forget that me module is in Beta branch, and still WIP. Maybe at the end you'll get the args in the mainpanel_init.lua ;)
  11. you can't find the indicator light args in a file, you have to use the lua console to find them.
  12. hi Jojo, at this time, there is nothing exciting to show... there is only the frame and not finished... so you can see some pics here : http://www.hostingpics.net/album/loulou945-269426.html
  13. Sorry, The L GEAR is #417 The AUX GEAR (nose) is #418 The R GEAR is #419 Exo7
  14. Landing lights switch is device #16 arg #450 command : 3450 arg limit : -1, 1 arg step : 1. You can find it in clickabledata.lua file. Exo7
  15. I have build my own M-2000C DCS-BIOS Library with this file and with the lua console (and with the help of Ian ;) )... so i have all indicator lights, switches, pots, and displays working... Exo7
  16. in the REAL MIRAGE 2000C, there is 2 types of red throttle handle, depending of the version and the radio system, there is a Rocker switch on the throttle to choose the radio you want to talk, and a PTT switch (don't know if it's in the rocker switch).
  17. Andre, you have this kind of information in the clickabledata.lua file, located in "Cockpit" folder....
  18. take a look here : http://forums.eagle.ru/showpost.php?p=2626815&postcount=181
  19. MAX7219 Display Problem Hi Ian, I have a litlle problem with display on max7219 using LedControl library. i'm using the latest DCS-BIOS Arduino Library (v0.2.1) 1- what i try to do : displaying M2000C UVHF Report Frequency + Selected Preset. 2 - What is the problem : Selected preset is displayed, frequency report is blank (only the DP) this is my function to keep the frequency report string, in my M2000C library: local function getUHFFrequency() local ret = {} local li = list_indication(9) if li == "" then return nil end local m = li:gmatch("-----------------------------------------\n([^\n]+)\n([^\n]*)\n") while true do local name, value = m() if not name then break end ret[name] = value end local freqStatus = ret["text_COM_UHF2"] return freqStatus:sub(0,3) .. freqStatus:sub(5,6) end local function getVHFFrequency() local ret = {} local li = list_indication(9) if li == "" then return nil end local m = li:gmatch("-----------------------------------------\n([^\n]+)\n([^\n]*)\n") while true do local name, value = m() if not name then break end ret[name] = value end local freqStatus = ret["text_COM_UHF1"] return freqStatus:sub(0,3) .. freqStatus:sub(5,6) end this is my calls to function, in M2000C library to : defineString("UHF_FREQUENCY", getUHFFrequency, 5, "UHF Radio", "UHF Frequency Report Display") defineString("VHF_FREQUENCY", getVHFFrequency, 5, "U/VHF Radio", "U/VHF Frequency Report Display") this is my use of defineFloat function to get the Selected preset value : defineFloat("UVHF_PRESET", 445, {0,1}, "U/VHF Radio", "U/VHF PRESET Display") defineFloat("UHF_PRESET", 435, {0,1}, "UHF Radio", "UHF PRESET Display") and this is my sketch : #define DCSBIOS_DEFAULT_SERIAL #include "DcsBios.h" #include <LedControl.h> //on inclus la librairie pour commander le MAX7219 LedControl lc=LedControl(10,11,12,1); void onVhfFrequencyChange(char* newValue) { char hundredths = newValue[0]; char tenths = newValue[1]; char ones = newValue[2]; char tens = newValue[3]; char hundreds = newValue[4]; lc.setChar(0,0,hundredths,false); lc.setChar(0,1,tenths,false); lc.setChar(0,2,ones,true); lc.setChar(0,3,tens,false); lc.setChar(0,4,hundreds,false); } DcsBios::StringBuffer<6> vhfFrequencyBuffer(0x30a0, onVhfFrequencyChange); void onUvhfPresetChange(unsigned int uvhfPresetValue) { unsigned int firstDigit; unsigned int secondDigit; if (uvhfPresetValue>2000 && uvhfPresetValue<5000){firstDigit=0;secondDigit=1;} else if (uvhfPresetValue>5000 && uvhfPresetValue<7000){firstDigit=0;secondDigit=2;} else if (uvhfPresetValue>7000 && uvhfPresetValue<11000){firstDigit=0;secondDigit=3;} else if (uvhfPresetValue>11000 && uvhfPresetValue<14500){firstDigit=0;secondDigit=4;} else if (uvhfPresetValue>14500 && uvhfPresetValue<17500){firstDigit=0;secondDigit=5;} else if (uvhfPresetValue>17500 && uvhfPresetValue<21500){firstDigit=0;secondDigit=6;} else if (uvhfPresetValue>21500 && uvhfPresetValue<24000){firstDigit=0;secondDigit=7;} else if (uvhfPresetValue>24000 && uvhfPresetValue<27500){firstDigit=0;secondDigit=8;} else if (uvhfPresetValue>27500 && uvhfPresetValue<30500){firstDigit=0;secondDigit=9;} else if (uvhfPresetValue>30500 && uvhfPresetValue<34000){firstDigit=1;secondDigit=0;} else if (uvhfPresetValue>34000 && uvhfPresetValue<37500){firstDigit=1;secondDigit=1;} else if (uvhfPresetValue>37500 && uvhfPresetValue<41000){firstDigit=1;secondDigit=2;} else if (uvhfPresetValue>41000 && uvhfPresetValue<44000){firstDigit=1;secondDigit=3;} else if (uvhfPresetValue>44000 && uvhfPresetValue<47000){firstDigit=1;secondDigit=4;} else if (uvhfPresetValue>47000 && uvhfPresetValue<51000){firstDigit=1;secondDigit=5;} else if (uvhfPresetValue>51000 && uvhfPresetValue<54000){firstDigit=1;secondDigit=6;} else if (uvhfPresetValue>54000 && uvhfPresetValue<56500){firstDigit=1;secondDigit=7;} else if (uvhfPresetValue>56500 && uvhfPresetValue<60000){firstDigit=1;secondDigit=8;} else if (uvhfPresetValue>60000 && uvhfPresetValue<63000){firstDigit=1;secondDigit=9;} else if (uvhfPresetValue>63000 && uvhfPresetValue<=65535){firstDigit=2;secondDigit=0;} lc.setDigit(0,5,firstDigit,false); lc.setDigit(0,6,secondDigit,false); } DcsBios::IntegerBuffer uvhfPresetBuffer(0x30a6, 0xffff, 0, onUvhfPresetChange); DcsBios::RotaryEncoder uvhfPresetRot("UVHF_PRESET_ROT", "DEC", "INC", 6, 7); void setup() { DcsBios::setup(); lc.shutdown(0, false); lc.setIntensity(0,9); } void loop() { DcsBios::loop(); } if i look in the liveData ControlReference, the values are good. Separatly, the functions are working well, but when them are both in my sketch only the Selected Preset works. The same functions works well with UHF Radio.. i don't understand where is the problem... i'm working on it since many days... Thanks for your help and for my burning head..:thumbup:
  20. Exo7

    Removed

    :cheer3nc::cheer3nc:
  21. Hi all, i don't know if it's a know problem, no result for searching in this forum... so, when you replaying a track where you have used the autopilot, the plane goes to crash, other player be fine. thanks
  22. Thank you Ian, this is quite normal , priority is your studies. @++ Exo7
  23. Exo7

    Screenshots!

    Screenshots! Exo7
×
×
  • Create New...