Jump to content

AH64 Apache. The CMWS Display on a TFT with a Mega 2560.


Recommended Posts

Posted

Hello,

I would like to show the Apache CMWS display on a 3.5 inch TFT in connection with a Mega 2560.
I just can't figure out the code. How do I have to write the sketch to make it work?

I have attached a screenshot as an example.

CMWS.jpg

Posted

I have no idea how to export that display using a mega2560, but I have another solution.

If you can use your 3.5inch TFT as a regular windows display, then you can export the CMWS display with a little modification to the .lua files of the Apache.

If you go to the file

DCS World\Mods\aircraft\AH-64D\Cockpit\Scripts\ASE\CMWS\CMWS_init.lua

 

and add these two lines to the bottom of the code
 

dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
try_find_assigned_viewport("CMWS")

Then you can export the CMWS in the same way as exporting a MFCD using the monitor config file.

Where you would have an entry in your monitor config file like
 

CMWS =
{
x = 2560;
y = 0;
width = 300;
height = 200;
}

 

  • Like 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...