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
nicolasrevello
Posts: 8
Hello guys from this beautiful community. You know I did an MCP and I have the 6 position selector key for the angle of bank. When I want to program in Mobi, it does not appear so that in position 1 it can have 10 degrees, in position 2 15 degrees, etc. Can you help me please
2023-07-27 02:31
Avatar
XPRoberto
From: Hungary
Posts: 65
Hi,
The information you provided is a bit sparse for me.
What I've learnt here :) =>First separate hardware and software issue.
1) In your case the hardware should be a rotary switch.
The most common has 12 poles (30 degrees) or 8 poles (45 degress).
In Karl's MCP (what I have) bank angle is separated from headings and using a 12 poles rotary, in other MCPs a dual rotary + encoder is used.
Anyway you only have to wire 5 poles of the switch and connect to 5 inputs on the arduino.
2) Now the software side
You simply create 5 inputs for the 5 legs and enter code to set the bank angle correctly.
Here are the possible datarefs. I haven't program it myself, yet. So you should try.
sim/cockpit/autopilot/heading_roll_mode
sim/cockpit2/autopilot/bank_angle_mode

So which part is not working? :)
[Last edited by XPRoberto, 2023-07-28 17:30]
----------------------------------------------------------------
Do you know that you can simplify: if($=1,0,1) ?
Use simply: 1-$ :)
2023-07-28 17:22
Avatar
nicolasrevello
Posts: 8
Sorry I didn't explain well. I have 12 positions. But in Mobiflight I only have to go up or down one position. I don't have how in MSFS to select the grades in each position
2023-07-28 23:13
Avatar
XPRoberto
From: Hungary
Posts: 65
Hi,
Ok I understand.
However this thread is about XPLANE, so I cannot help in MSFS. Sorry.
----------------------------------------------------------------
Do you know that you can simplify: if($=1,0,1) ?
Use simply: 1-$ :)
2023-07-28 23:34
Avatar
nicolasrevello
Posts: 8
I'm talking about XPlane, I put MSFS as an example
2023-07-29 00:00
icon