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
Japmaco
Posts: 48
HI,

Im setting up some 7 segments.

But the ADF is not listed in the presets, so i found the preset for the ADF1 which is
"034C 2 ADF1 Frequency: main 3 digits, in Binary Coded Decimal. See also offset 0356. A frequency of 1234.5 will have 0x0234 here and 0x0105 in offset 0356. (See also offset 0389) "

I put in 034C and 2 and BCD mode.
Then it works with 3 digits as it says. But an ADF has the ability to shoe 1234.4 meaning 4 digits with a dot.
I have tried to alter som values, but the closest i can get is 1599 for example but when showing 899 for example its displaying 1899. I tried to put in some values in the compare section. Borrowing some from the COM 1. No luck so far.

Anyone know how to configure this in mobiflight? =)
2016-09-09 01:39
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1516
Hi

the part in front of the point (the whole part) is stored in the Offset that you are using: 0x034C.
The part after the point (the fractional part) is apparently stored in: 0x0356

You would therefore define two output configs in Mobiflight. One for the whole part and one for the fraction part. They both use the same display module but different digits. This should be possible - I have not yet tried it out

Please let us know if you get it working.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2016-09-09 06:51
Avatar
albeagle
Posts: 142
Hi there

I had to define three outputs. One for the first digit (high value), one for three main digits and one for the last digit (low value). Here is a video on how i did it.

https://youtu.be/ORMwE7LG3t0

AlbEagle
Regards
AlbEagle

https://flyingforfun.weebly.com/
2017-01-10 03:41
Avatar
pizman82
From: ETSI, Germany
Posts: 6010
Supporter
Hi Albeagle

Maby youre Config is a little confusing for beginners.

Youre Bitmask is wrong.
The Low Byte ( first byte) is masked from bit 0 -7 the High byte is masked from bit 8-15 (Youre mask work to but newbies not understand why)

To better understanding i will recommend to use the bytes without masking, too.
In this case there is a 2 Byte Offset.... The first byte is the decimal fraction ..... the second is the 1000 Part.
So why you not use Offset 0356 ONE Byte for the Config of the decimal Diggit.... AND Offset 0357 ONE Byte for the Config of 1000 Diggit ( Then you also need NO BCD Mode)
I Think it´s easyer to use different bytes. Masking is just needet if a single Byte include different bit values.


****

At last a (little tricky) way to set this with only 2 Config Lines.....
Fist line is like suscribe above with Offset 034C with BCD Mode ( For the middle 3 Diggits ) (Use Left Padding for correct Display)

Second is using ..... Offset 0356 2 Byte INT BCD Mode ON ( For the 1000 AND Decimal Diggit)
Now you need a Compare.....
If only the Decimal is shown ( no 1000 Part when frequence is below 999.9 ) Then the Value is 0-9 like the value of decimal Part.
If Frequency is above 1000 then the Value is 10? ( ? is decimal Part ..... For Exmaple 1109,5 is shown as 105.
To make a 2 diggit Value we use " Compare : IF Value bigger then 10 ..... >10 .... THEN $-90 " So 105 come into 15 (and can be shown on 7 Segment Display)
Now only set Display for this config with the next Left and next Right Diggit nearby the first Config of the middle Part. (Use Left Padding for correct Diplay)

Good Luck !
Good Luck !
2017-01-10 15:24
Avatar
albeagle
Posts: 142
Hi pizman82

Well explained :thumbup:

Regards
AlbEagle.
Regards
AlbEagle

https://flyingforfun.weebly.com/
2017-01-10 22:13
icon