Sigma40 Posted August 8, 2023 Posted August 8, 2023 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.
No1sonuk Posted August 8, 2023 Posted August 8, 2023 Is the CMWS display a purely text display? If it isn't, and is video, forget any kind of arduino-driven display - they're not remotely fast enough.
jonsky7 Posted August 8, 2023 Posted August 8, 2023 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; } 1
Recommended Posts