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
albeagle
Posts: 142
Hallo Sebastian

Ich hätte eine frage, wenn mann ein 7 segment led module einfügt kann mann gleich die lichtstärke bestimmen. wäre es möglich diese option als aktion zu benutzen, beispiel, mit einem Potentiometer com/nav radio wie beim original einzushalten und die lichtintensität zu ändern.

LG
AlbEagle.
Regards
AlbEagle

https://flyingforfun.weebly.com/
2017-03-11 14:21
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Yes and No ! Not Posible at the moment.... But theoretic posible with some changing in Mobiflight code i think.

1. Problem
Mobiflight not Supports Analog Inputs and so no Potentiometer at all.

2. Problem
I not fully understand this part of the Code in MF, but it looks like MF set the Brightness of MaxDisplays while first starting.
(Look into the Datasheed https://www.sparkfun.com/datasheets/Components/General/COM-09622-MAX7219-MAX7221.pdf
Specialy Table 2 and Table 7 to understand how a Max7219 Brightness Control workes. )

So with current MF Code it´s not posible to change Brightness "live" cause it still send the data one times at Startup. (I think)
For Youre building it need a logic like "Scan the Value of the Potentiometer... If it change and reach XX then stop Display Update, send 1 time the new brigthness Command and then restart normal Data Upload to set the Display.

***********

Maby a compromise is posible....
Setting the Brightness not in Menu.... Set it via Direct Input ( But NOT with a potentiometer). Max got 16 steps of Brightness. Maby a function can be implied, the allow via Button to send a new Brightness Command to Max..... What command is sent can be defined by a readout Offset.

For Example....
A Button send on Push with a config a Value to a Offset (Custom). With a IF Function we can increase this value to all 16 Steps ( Or mabye less steps if we want)... like a toggle function.
On release of Button it starts this new function, that send the current Offset Value ( of this Custom Offset) "1 Time" to the Max Module and set the new brigthness.

So we can use a Push button ( Or a encoder ) to do that.

********

So finaly.... I think it´s posible technical.... But need lot´s of new Code in MF and make the Programm difficult ! Thinking about "usefull and profitable" is needed.
Good Luck !
2017-03-11 15:21
icon