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!
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.
05C4 4 Active COM1 frequency in Hz (32 bit int) Ok-SimC Ok-SimC
05C8 4 Active COM2 frequency in Hz (32 bit int) Ok-SimC Ok-SimC
05CC 4 Standby active COM1 frequency in Hz (32 bit int): Ok-SimC Ok-SimC
05D0 4 Standby COM2 frequency in Hz (32 bit int) Ok-SimC Ok-SimC






when the frequency is 128.000 the display shows 128.000 (FSUIPC value 2800 Output value 128000)
when the frequency is 128.005 the display shows 128.000 (FSUIPC value 2800 Output value 128000)
when the frequency is 128.010 the display shows 128.012 (FSUIPC value 2801 Output value 128012)
when the frequency is 128.015 the display shows 128.012 (FSUIPC value 2801 Output value 128012)
when the frequency is 128.025 the display shows 128.025 (FSUIPC value 2802 Output value 128025)
In my config for COM1 Active, i have the following values
Offset : 0x05C4
Value Type : INT
Size in bytes : 4
Mask value with : 0xFFFFFFFF (<- 8 F's)
BCD Mode : check
Transform : unchecked

I always like a challenge
So I solved it myself.
I put the following formula in "Transform":
($ + 10000) * 10 + ($ % 5) * 2.5
- The last part ($ % 5) * 2.5 simply gives me 0, 5, 0, 5 when the last digit of the FSUIPC value is 0, 2, 5, 7 ("%" is the module operator)
- Then I simply add 10000 to the FSUIPC value to get the leading "1", multiply by 10 and add the result of the above formula
@Moderator - would be nice if you could change the title of this topic to "How to show 6 digits for the COM frequency"
(PS. I don't know if somebody else found this - if so, I apologize and all credits go that person of course)