Hi All,
I'm coming from SPAD.Next where things are a little....simplier.
Can anybody tell me how I toggle an LVAR value between 0 and 1 using a preset. I understand I've got to use RPN code. For example, I'm trying to have the LVAR L:S_OH_OXYGEN_CREW_OXYGEN rotate between 0 and 1 on each button press. I want to have the variable toggle for EVERY press - Not set a 1 on press and a 0 on release.
The connector template profile thingy (whatever its called in Mobiflight) I've downloaded and am modifying currently has the button setup as a PRESS = 1 and RELEASE = 0. I can't figure out what RPN code it is going to take to just have 0/1 TOGGLE on every press of the button, regardless of weather its a release or a press.
This is what is set at the moment which I'm guessing is setting it to 0 on release only. I can't work out what the hell its doing on press....
Any advice on how to implement this incredably simple yet beyond me peice of programming? 🙂
MobiFlight after you have used it for a little.