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
Sunnyalex
From: Germany
Posts: 8
Hi guys,

I have built a board with four 7-segment digits (i.e. it could display 0000 to 9999).
I used MAX7219 for this.

Unfortunately, it appears I have misinterpreted the way Mobiflight uses the chip.

I hope still with configuration/variable transformation my issue can be solved.

It would be great if someone could give me a hint.

The trouble, as I believe now, is like this:
In the schematic, I connected digits 0 ... 3 of the MAX7219.
However, digit 0 for me is the left-most on my real physical instrument.
So when you look at it, you see DIG0-DIG1-DIG2-DIG3.

In MobiFlight, module configuration I selected output type = LedModule, Num = 1.

I have played with a lot of options in the display settings field.

Currently I have the following options configured:
  • Number of digits: 8
  • use display: all 8 boxes checked
  • Extended: reverse digits


When I hit test, the display shows "1234".

Still, when I configure a game variable to be displayed, I only see the 9th, 10th, 11th, 12th digit of the signal. The digits 1 ... 8 of the simulator signal are "clipped" off. It is, as if MobiFlight expects another MAX7219 with another set of 8 digits to be connected.

Is there a way to configure MobiFlight for my use case?

Thank you and best regards,
Alex
2023-07-21 10:51
Avatar
Sunnyalex
From: Germany
Posts: 8
I think I have it working now!

Settings are now:
  • number of digits: 4 (as I do have only four digits)
  • use left padding: yes (fill with blanks)
  • use digits: all 4 boxes checked
  • extended: reverse digits


AND: additionally in the interpolation settings, I enabled a linear interpolation. 0 -> 0; 1024 -> 1024. This converts the (float?) number to an integer. This integer is now shown correctly.
2023-07-21 19:51
icon