Jump to content

mauri61173

Frozen-Inactivity
  • Content Count

    1
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

0 Neutral

Profile Information

  • Gender
    Male

Flight Sim Profile

  • Commercial Member
    No
  • Online Flight Organization Membership
    none
  • Virtual Airlines
    No
  1. Hi I'm building fcu using mobiflight and arduino. I can not attribute offset type 0x66C0 to the following function: function AB_HDG_plus () AB_hdgtrk = ipc.readLvar("L:AB_AP_HDGTRK") AB_drift = round(ipc.readLvar("L:AB_AP_HDGTRK")) if AB_hdgtrk == 0 then LVarSet = "AB_AP_HDG_Select" else LVarSet = "Autopilot_TRK_set" end LVarGet = ipc.readLvar(LVarSet) AddVar = LVarGet + 1 if AddVar > 359 then AddVar = 0 end DspHDG(AddVar) ipc.writeLvar(LVarSet, AddVar) end function AB_HDG_minus () AB_hdgtrk = ipc.readLvar("L:AB_AP_HDGTRK") if AB_hdgtrk == 0 then LVarSet = "AB_AP_HDG_Select" else LVarSet = "Autopilot_TRK_set" end LVarGet = round(ipc.readLvar(LVarSet)) AddVar = LVarGet - 1 if LVarGet < 0 then AddVar = 359 end DspHDG(AddVar) ipc.writeLvar(LVarSet, AddVar) end I'm using an encoder assign to increase or decrease the Hdg value on aerosoft airbus. thanks in advance for the help
×
×
  • Create New...