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
slammer88
From: LTBJ, Turkey
Posts: 160
Hey there.

I need some basic information of coding.

I've managed to adapt the Max7219 modules to work with XP-11 via XPUIPC (about which i'll prepare a detailed tutorial later)

But when i set the heading between 000 and 099, my module doesnt show the first zeroes. How can i solve that ?

I need such a code like if the value is or equal 0 and lower 100, show 0 as first digit.
2019-01-24 17:01
Avatar
slammer88
From: LTBJ, Turkey
Posts: 160
Ok solved it, just set 3 digits, chose 0 instead of Space from Display settings:thumbup:
2019-01-24 17:41
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Yes... Key is LEFT PADDING Field.... Use it if needed and choose "Space" or "zero"

a Value of for example 67 can be showed in a 3 Diggit Display in 3 Ways ...

1. 670 Here the System add simply Zeros RIGHT if Number is not 3 Diggits long (That schould be Left Padding OFF)
2. 067 Here the System fill up with Zeros to the LEFT (That should be Left Padding ON with ZERO)
3. _67 The "_" means a BLANK Diggit .... (Thats with Left Padding ON with SPACE )

Hope that was all correct.... Not test it and just explaned as i remember at the moment !
Good Luck !
2019-01-24 23:15
icon