michael1508
12-27-2017, 04:15 PM
I am having a strange phenomenon with my self build gear lever.
It used to work, but since a couple of days - don't ask me, what has changed - the programmed offset is not working anymore.
I am using Arduino/Mobiflight, to read the value of a switch like this one:https://www.reichelt.de/Schnappschalter-Endschalter/MAR-1050-5202/3/index.html?ACTION=3&LA=3&ARTICLE=32729&GROUPID=7599&SID=94WkPucqwQATYAADhtV0Q7f058a4a58b01aa3040103c5b7fa26c9
One switch is triggered, when gear lever is down, another when the gear lever is moved up.
Now when I move the gear lever down for example, the switch is triggered (can see that in Mobilflight), but the value is only read for a second, than immediately jumps back to the previous value (see that in FSUIPC logging), although the switch is still in the push position.
I disabled the function to see, if another mechanism is causing this, but there is none. It's just that single switch being involved.
Any ideas, why the new value is not kept?
It used to work, but since a couple of days - don't ask me, what has changed - the programmed offset is not working anymore.
I am using Arduino/Mobiflight, to read the value of a switch like this one:https://www.reichelt.de/Schnappschalter-Endschalter/MAR-1050-5202/3/index.html?ACTION=3&LA=3&ARTICLE=32729&GROUPID=7599&SID=94WkPucqwQATYAADhtV0Q7f058a4a58b01aa3040103c5b7fa26c9
One switch is triggered, when gear lever is down, another when the gear lever is moved up.
Now when I move the gear lever down for example, the switch is triggered (can see that in Mobilflight), but the value is only read for a second, than immediately jumps back to the previous value (see that in FSUIPC logging), although the switch is still in the push position.
I disabled the function to see, if another mechanism is causing this, but there is none. It's just that single switch being involved.
Any ideas, why the new value is not kept?