Rotary Encoder MobiFlight LVars
Posted: Mon Nov 15, 2021 4:01 am
Hello,
I have been trying to get this to work for hours days now - and I assume it is easy but I just cannot figure this out. I just started using MobiFlight and bought an Arduino Mega. Now, this isn't my first Arduino project at all, and I have been working on some C# (SimConnect) stuff with displays, but this has me stumped. I am trying to make a rotary encoder turn the 'INSTR INDIRECT' so when I enter into a dark plane I can turn my Battery on and then turn this dial so I can get some light to be able to finish the startup procedure.
In the 'LVARS' Excel Sheet pinned to the top it shows:
In MobiFlight, I have the following screen when choosing FSUIPC Offset. I've tried quite a few different ways and nothing seems to work. The encoder is getting recognized because the debug log shows it is registering:
I've tried --, -1 but I can't get it to rotate
What do I put in the set value?
I have been trying to get this to work for hours days now - and I assume it is easy but I just cannot figure this out. I just started using MobiFlight and bought an Arduino Mega. Now, this isn't my first Arduino project at all, and I have been working on some C# (SimConnect) stuff with displays, but this has me stumped. I am trying to make a rotary encoder turn the 'INSTR INDIRECT' so when I enter into a dark plane I can turn my Battery on and then turn this dial so I can get some light to be able to finish the startup procedure.
In the 'LVARS' Excel Sheet pinned to the top it shows:
Code: Select all
147 OVH - INSTR INDIRECT (LEFT CLICK) (L:0x1110C, enum) ++ 30 min (>L:0x1110C, enum) 0x1110D (>L:L_EVENT,enum)
148 OVH - INSTR INDIRECT (RIGHT CLICK) (L:0x1110C, enum) -- 0 max (>L:0x1110C, enum) 0x1110C (>L:L_EVENT,enum)
I've tried --, -1 but I can't get it to rotate
What do I put in the set value?