MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
manners13
Posts: 3
Hi, as previously mentioned in another post im aiming to use a Dwin HMI as the screen for my FMC.

i now have the screen and the hello world arduino sketch from Dwin. my next step was to look at the firmware and somehow hijack the variable to use as an output variable for the display.

I have downloaded the source firmware for mobiflight and followed the instructions installing PlatformIO and trying a straight build to ensure it builds before any modification however im getting an error whilst trying to build

Error: Could not find one of 'package.json' manifest files in the package

can someone please advise where im going wrong?

for anyone else interested in the dwin setup i have currently divided the screen into 16 rows and 24 columns with each row being a separate variable address
my aim is to break down the cdu output into seperate lines and pass each line to the screen using TTL

The Hello World Sketch contains the DWIN.h and LCD.h library files but the lines in the Hello sketch are as follows so this should be pretty simple and are broken down to

\\ printf_dwin(Variable memory address on Dwin,Variable to be sent is ASCII format)

delay(1000);
//Draw_curve(1,z);
printf_dwin(0x6000,"Hello");

delay(1000);
printf_dwin(0x6000,"World");
Data=Read();

If i can get this working correctly i will follow up any other information on this post.
2022-12-22 13:58
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Also here i will send you to our Discord . https://discord.gg/99vHbK7

We have Power USers who rework the MF Firmware for there own usage.
And as you expect.... We mostly use the LCD Display Device for this..... There MF send a String (e.g. 80 chars) tpo the Board Firmware. And there you can add own code and "hijack"
the data for your own stuff that is programmed "on top" of the original Firmware.

So.... Best way for help is Join Discord and rerquest there. Elral and NeilE are the most advanced users in this point i think !
Good Luck !
2022-12-28 18:24
icon