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.

Hi slammer,
0BE0 4 Flaps position indicator (left). This gives the proportional amount, with 16383=full deflection. It doesn’t correspond to the equally spaced notches used for the control lever. If you know the maximum deflection angle you can derive the current angle by ((max * position indicator) / 16383). This only gives the (inboard?) trailing edge flaps. Please see
offsets 30E0–30FF for greater details where needed.
0BE4 4 Flaps position indicator (right). This gives the correct proportional amount, with 16384=full deflection. It doesn’t correspond to the equally spaced notches used for the control lever. This only gives the inboard trailing edge flaps. Please see offsets 30E0–30FF for greater details where needed.
0BE8 4 Gear control: 0=Up, 16383=Down Ok-SimC Ok-SimC
0BEC 4 Gear position (nose): 0=full up, 16383=full down Ok-SimC Ok-SimC
0BF0 4 Gear position (right): 0=full up, 16383=full down Ok-SimC Ok-SimC
0BF4 4 Gear position (left): 0=full up, 16383=full down Ok-SimC Ok-Sim
For all generic Offsets see this link:
http://www.schiratti.com/dowson.html
The Offset are in the downloadable File FSUIPC SDK
You can also look into your P3D\modules\-Folder. There you find a Folder with documents (pdf). Very usefull

I think your values are in parts to precise.
Why don't you have a look on the value while your flaps are stopping at the detents?
0 is ok, flaps up, then set flap position 1 and wait until the flaps are stopping and read the value.
Same at flap-position 2 and position full.
Then give the values an area around, for safety and define the complete area.
So 0 LED is 0, from 1 to n1 LED is 1 (way to detent 1), from n1 + 1 to n1+10 (detent 1 - LED is 0), n1+11 to n2 led is 1 (way to detent 2) and from n2 + 1 to n2+10 (detent 2) led is again 0 and so on.
You also can use the transform-input:
if($=0,0,if($=value of detent1,0,if($=value of detent2,0,1)))
So the LED ist 0 when the value is 0 or has the value of your defined detents. In all other cases the led is 1.
pizman can this much more better than I, so I hope he don't kill me



I think the LED should be OFF if you reach a detent?
if($=0,0,if($=8192,0,if($=16384,0,1)))
means
if flaps are up LED is OFF,
if $=8192 (detent 1 is reached) LED is OFF
if $=16384 (detent 2 is reched) LED is OFF
In all other cases, if the value is NOT 0 and NOT 8192 and NOT 16384 the LED is 1

pizman can this much more better than I, so I hope he don't kill me
Edit : Done, if($=0,0,if($=16383,0,1)) worked pretty well.
if($=0,0,if($=8192,0,if($=16384,0,1)))

I think the LED should be OFF if you reach a detent?
if($=0,0,if($=8192,0,if($=16384,0,1)))
means
if flaps are up LED is OFF,
if $=8192 (detent 1 is reached) LED is OFF
if $=16384 (detent 2 is reched) LED is OFF
In all other cases, if the value is NOT 0 and NOT 8192 and NOT 16384 the LED is 1
