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!
The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!
See you on our MobiFlight Community Discord server.
A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.
The forum is still providing a lot of good content, hence we keep this information accessible.
Hi Pizman82, The aircraft I use is the A2A C172.
Code:-- Eintrag für LINDA (kann ggf. entfernt werden) ipc.runlua('linda') while 1 do OilPressLight = ipc.readLvar("L:OilPressLight") VoltsLight = ipc.readLvar("L:VoltsLight") VacLLight = ipc.readLvar("L:VacLLight") VacLight = ipc.readLvar("L:VacLight") VacRLight = ipc.readLvar("L:VacRLight") FuelLLight = ipc.readLvar("L:FuelLLight") FuelLight = ipc.readLvar("L:FuelLight") FuelRLight = ipc.readLvar("L:FuelRLight") -- OilPres (Offset: 66C0) ipc.writeSB(0x66C0, OilPressLight) -- Volts (Offset: 66C1) ipc.writeSB(0x66C1, VoltsLight) -- VAC Left (Offset: 66C2) ipc.writeSB(0x66C2, VacLLight) -- VAC (Offset: 66C3) ipc.writeSB(0x66C3, VacLight) -- VAC Right (Offset: 66C4) ipc.writeSB(0x66C4, VacRLight) -- Fuel Left (Offset: 66C5) ipc.writeSB(0x66C5, FuelLLight) -- Fuel (Offset: 66C6) ipc.writeSB(0x66C6, FuelLight) -- Fuel Right (Offset: 66C7) ipc.writeSB(0x66C7, FuelRLight) end
Code:[MACROS] 1=L:FSelC172=SET 2=L:Eng1_GeneratorSwitch=TOGGLE 3=L:Battery1Switch=TOGGLE 4=L:Eng1_FuelCutOffSwitch=TOGGLE 5=L:CabinVent=SET 6=L:Eng1_FuelValve=TOGGLE 7=L:Headphones=TOGGLE 8=L:ControlsLockLever=TOGGLE 9=L:Eng1_FuelSelector=SET 10=L:LandingLightsON=TOGGLE 11=L:Eng1_StarterSwitch=SET 12=L:Headphones=TOGGLE 13=L:Eng1FuelCutOffSwitch=TOGGLE 14=L:Eng1_MixtureManualLever=SET 15=L:ElecPower=TOGGLE 16=L:CabinTempControl=CYCLIC 17=L:PedestalLightKnob=CYCLIC 18=L:PanelLightKnob=CYCLIC 19=L:GlareshieldLightSwitch=TOGGLE 20=L:RadioLightKnob=CYCLIC 21=L:Com1OnOff=TOGGLE 22=L:Com2OnOff=TOGGLE 23=L:Nav1StbySwitch=TOGGLE 24=L:Nav2StbySwitch=TOGGLE 25=L:kma26DmeSwitch=TOGGLE 26=L:FSelC172State=SET 27=L:kn62Function=CYCLIC 28=L:kn62OnOff=TOGGLE 29=L:kap140_ap_button=TOGGLE 30=L:kap140_hdg=TOGGLE 31=L:kap140_nav=TOGGLE 32=L:kap140_apr=TOGGLE 33=L:kap140_rev=TOGGLE 34=L:kap140_alt=TOGGLE 35=L:kap140_up_button=SET 36=L:kap140_dn_button=SET 37=L:kap140_arm=TOGGLE 38=L:kap140_baro_button=TOGGLE 39=L:AnnunciatorPanelTestSwitch=SET 40=L:AnnPanelTestSwitchPercent=SET 41=L:AnnPanelTestSwitchDrag=SET 42=L:AdfOnOffKnob=TOGGLE 43=L:AutopilotHeadingBug=SET 44=L:xpdr_onoff_knob_pos=CYCLIC 45=L:GpsOnSwitch=TOGGLE 46=L:WindowDefrosterControl1=CYCLIC 47=L:WindowDefrosterControl2=CYCLIC 48=L:GpsNavSelector=TOGGLE 49=L:Nav1PullIdent=SET 50=L:Nav2PullIdent=SET 51=L:kma26MkrSwitch=TOGGLE 52=L:kma26AdfSwitch=TOGGLE 53=L:kma26Nav1Switch=SET 54=L:kma26Nav2Switch=SET 55=L:kma26DmeSwitch=TOGGLE 56=L:kma26Nav1SwitchButton=TOGGLE 57=L:kma26Com1Switch=TOGGLE 58=L:kma26Com2Switch=TOGGLE 59=L:kma26Com3Switch=SET 60=L:ComPushButton=SET 61=L:kma26SelectorKnob_pos=SET 62=L:IntercomPushButtons=SET
Due to some other functions I have given up the A2A again and am currently operating my home cockpit with a standard Cessna 172.