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.

Go to page 1Go to page 112Go to page 3Go to page 2
Avatar
gtr
Posts: 24
where can i find older version?
2017-02-16 12:38
Avatar
gtr
Posts: 24
OK,i mange to download v 7.2.1 and i can upload firmware to mega

i mange to connect 4 tubes of MAX 7219 and i can get reading of HDG NAV ALT VRT SPD MACH,cool stuff :)

The problem is when i hit RUN the display some times shows the numbers some times the tube dont turn ON, i need to press many times reset button on the mega to bring back the tubes to life,

when all tube are working i change the alt or crs and the display crash so i need to reset mega

sometimes its working OK all tubes,but most of the time the display crash or dont light up or dont show all numbers.

i added rotary switch,working fine

i add push button switch,MF ask me to add value like $+1 ,or somthing in number,i add $+1 or just 1 and when pressing the push button mobiflight crash,



i also try lower ver of mobifilght and i get the same errors.

what im doing wrong?
[Last edited by gtr, 2017-02-18 11:00]
2017-02-18 09:17
Avatar
pizman82
From: ETSI, Germany
Posts: 6010
Supporter
Dear GTR.

Sorry my friend.....
This are lot´s of problems :-/
Do you got this problems in the past, too ?? Or do not work with mobiflight before Patch 7.1 ?



1. Maby its a problem in Mobiflight !
I got not much experince with permanent downgradings.... Maby you have create a special issue and use a MFC Version and a different firmware while youre testing. Sorry i can´t reproduce this. Maby you just have to wait until Mobiflight release a bugfix for current version already.

2. Different Errors in case of different issues from youreself
Without information abaout youre config i can´t see what you do !
MABY the issue of the Display is not a Mobiflight problem.... Maby you got a error in soldering the display ( sometimes already from manifactur)... or you got a wrong config entry ????
Or the switches...... A Push button is basicly the same like a rotary. It send a action when pushed ... nothing else ... no magic!
If rotary workes and push button not, there is a issue in config maby.

Solution:
Maby wait for a update of current version, to see if error comes from this bugs we got at the moment.

You can try some thing, too
Here i will recommend to only use 1 Display (Not 4) to test basic things. like showing some Standard FSX Data.
( If you use 4 Displays and got a soldering problem in one Display then all 4 are down. Try different Displays in this test to find out if one is broke.

Same with buttons. Only set 1 Button and try to controll easy things like the Parking brake example

*******

If you think the problems are specific in youre config. and need my Support then you have to sent me more information.

pizman@freenet.de ( Please tell me you Board Name GTR in the mail ! )

Please give me screenshots if needed. give me youre mcc file..... And tell me exactly what you wan´t to do AND What plane/system do you use !

Good Luck !
Good Luck !
2017-02-19 00:05
Avatar
gtr
Posts: 24
thank you for your replay,

i understand this software have some things to fix and its OK,i think this software is great for ppl that realy dont understand in programming like me.

im trying to build B737 MCP ,i mange sometimes to see all the right info from FSX in the 4 tubes of the max7219 but most of the time the display is more jibrish and needs to be reset. maybe its power problem? how many tubes MEGA2560 can take?

now i mange to add push btn for ON/OFF, i mange to add $+1 for first push to be ON but for the second push to turn OFF i was not able to do it even i wrote $-0 or $+0 etc',in the device i add button not encoder

i guess i need help in this kind of "small" things.

any way...i realy hope this software will work as i dream ASAP so i can build my B737 MCP :)

many thanks
2017-02-19 10:59
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
I have reverted the Code to detect Mega as in the past. Please try and let me know.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2017-02-19 18:24
Avatar
gtr
Posts: 24
thank you sir! its working :)

if i can ask you...i try to control the AP CMD A with push button, i add button,choose the CMD A from the list,choose the button,
"on press" i add $+1 ,and CMD A turns ON,how do i cancel it at the second press?

best regards
Guy
2017-02-19 21:07
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
EDIT: SORRY. Youre to Fast..... Write this while you post the last Thread :huh:

@ GTR.

No Problem ! :thumbup:
You get all information for these "Small Things" here in this board, If not just ask.... We help you !

1. Displays.
As Sebastian post.... The update is released. Please test youre Displays with new version 7.2.3 . If it work now then it´s solved. If not, please do the workflow i told you above.... Please set the 4 Tubes seperate.... Not build a row... Set it personaly as a own device with 3 single Pins each.
So you can see if ONE of the FOUR is broke and bacome errors.

2. Buttons.
Your technic is wrong for a ON/OFF switch.
The $+1 and $-1 technic is normaly used to work with values like Altitude or frequencys. So if you use the Button the value increase/decrease by 1.
For a ON/OFF switch we will use direct values..... 1 = On ; 0 = Off .

There are Two ways now.....
A: You say ... When PUSH the button Mobiflight send "1" to the offset and change the function to ON. When Released the Button it send "0" and set function to OFF. This is perfect for toggle switches like the FD Switch on B737 MCP .... A Switch that hold in Position until you put it off again.

B: A Momentary Push button is different. Normaly we ONLY use the "Push" function here ( release make no sense cause you not HOLD the button all the time.... you just klick it)
Here we can use a IF Function. We Say " If Status of Button is 1 at the moment we want set it to 0 ... if it´s already 0 we want set it now to 1" This called ToggleFunction.
To do this the "Value" shold be .... IF($=0,1,0) ...... Keep Cool.... This sounds advanced but it´s easy if you understand the basic system already.

Additional: There are lots of other things like Event ID´s to controll functions in Simulator. We can help you here too. But you have to tell us WHAT Plane you use ( Standard FSX B737 or maby a AddOn like PMDG, Prosim, Magenta and so on ).
Every AddOn got its own technic to controll Buttons or to read Data for displays....

Good luck ! Just ask if you need help !
Good Luck !
2017-02-19 21:28
Avatar
gtr
Posts: 24
many thanks for your time and help!

im building a b737 MCP,and from there all the MIP of the B737.

i add your line in the value window for push button IF($=0,1,0) ,its send data to the mega when pressing the push btn but in the SIM the CMD A dont turn ON or OFF

Please advice.

thank you
Guy
2017-02-20 06:39
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Sorry that this not work !

Again i need information about youre Used software....
I Understnad B737 but what puplisher ? PMDG , Standard FSX, Prosim , Captains , Magenta ????

My special interest is PMDG... there i can help you with every switch in cockpit. For other Systems i need to try out myself before i can guide you !

If you use Standard FSX ( The Plane deliverd with the FSX ) you have to do this....

Way 1 (Through Offset)
Create a Input Config and set to youre Button on Arduino....
Action Type = FSUIPC OFFSET
You can use Preset for this "Autopilot Master Switch"
Offset 07BC 4 Byte INT
Value like discribe above if($=0,1,0)

Way 2 (Through Event ID )
Create a Input Config and set to youre Button on Arduino ...
Action Type = Event ID
You can use Preset "AP_MASTER"
EventID 65580
Parameter 0
Both ways i tested and that work fine with a push button.... Both toggle the function.


AddOn Aircrafts mostly use different Offsets and/or Event ID´s . But there exist lists that help you.

Please try out this for Standard B737......

By the Way.... This became OffTopic now ! Please open a new Thread if you need specific help.
Good Luck !
2017-02-20 07:29
Avatar
gtr
Posts: 24
thank you very much,its working :)

i have sent you an email

thanks
Guy
2017-02-20 08:24
Go to page 1Go to page 112Go to page 3Go to page 2