#Parking Brake release X-Plane
1 messages · Page 1 of 1 (latest)
Yes you can…
It’s a little bit tricky but you can make a timer and tell the servo to go to any position after x amount of time…
That sounds good :-). But how can I set a timer in mobiflight? Thanks
You need to set an output as a blinker (with 1 and 0, 500ms on and 500 ms off) and in display tap set an input to a mobiflight var and in “on press” tap “set value” just put $+1…
Then set another output reading this mobiflight var (this var will be now your timer) and you can reset it with an event to go back to 0…
Thank you very much for the solution. I'll try to program this. Hopefully, I can do it.
this is a proof of concept mfproj file.
It follows the same approach as described by Guiche76
except it counts backwards to 0
There are three outputs: blinker, timer and Servo
One input bound to a button called Trigger
Servo will go to a value of 1 when the button is pressed and 2.5 seconds later go back to 0.
Trigger just sets the timer MF variable to 5
Blinker just blinks from 0 to 1 every half second.
A servo controlled by the Servo output should behave as you wanted.
Counting backwards does not require resetting the variable to zero.
It works, many thanks