I got this from https://www.siminnovations.com: "Air Manager is an application which allows you to create your own 2D flight simulator panels. You can run it on the same computer as your flight simulator, or on a seperate computer. It will automatically connect to your X-Plane, FS2020, FSX or Prepar3d flight simulator on your local network. Choose your panel from one of the included 20 pre-made panels, or create your own from a library of more than 820 free instruments. Is the instrument you are looking for not in our library? No problem, you can create your own by using our simple API in combination with the Lua scripting language." I found this on GitHub: " This Arduino library provides the lua 5.3.4 scripting engine for ESP8266 sketches". I do not think the Mega will have enough processing power to do this but you can write the code and try. You will have a lot of interfaces to work out. Maybe a Raspberry Pi would be a better solution, it appears you will also needs an OS.