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
SteveMunro
Posts: 10
Hello everyone,

I am making a TCAS panel for the MDG 737 using a MAX7219 chip for the 7 segment display of transponder code.

The display is working using the offset 0x0354 int 2 Bytes but if I have a code with the 1st digit is zero i.e. 0156 then the display becomes 1560. I am sure this is a simple fix but as always reaching out to anyone that's had this problem please.

Regards,

Steve
2022-08-02 11:46
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Simply enable the "Left Padding" Function. With Typ "0"

Then the number "0156" that is mathematical 156 will be shown again as "0156 " cause MF fill up empty diggits (Left) with Zeros.

At the moment you have Left Padding OFF Typ "0" means it fill with Zeros to the Right.... so 156 is shown as "1560"

E.g. a 5 would be shown then as 0005 or 5000
Good Luck !
2022-08-02 22:04
Avatar
SteveMunro
Posts: 10
Thank you.
its so easy when you know how !!!
2022-08-04 08:16
icon