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! 

icon
Avatar
pierclav
From: Bangkok VTBD/VTBS
Posts: 30
Supporter
Compare values for gear movement indicator. LED is OFF when gear is extended or retracted and ON when gear is moving.

Input value Output value

0 0
1 1
2048 1
4095 1
6142 1
8189 1
10236 1
12283 1
14330 1
16377 1
16383 0
2016-01-19 04:20
Avatar
pizman82
From: ETSI, Germany
Posts: 3867
Supporter
Thank you for youre shared information !

Meanwhile we found a easyer way (shown in the example file of Mobiflight)

Just use a compare " If Value $= 16383 THEN Value = 0 "

0 =0
1-16382 is a positiv value bigger than 0 and let a led light up ( The LED is still On if the value is for example 1385... it only must 1 or bigger )
16383 = 0

So Led is Off when Gear UP or Down ( Both Values 0 ) and it lights while transit ( Value 1-16382
[Last edited by pizman82, 2017-01-13 10:37]
Good Luck !
2017-01-12 06:08
icon