Jump to content

johnson67th

Members
  • Posts

    1
  • Joined

  • Last visited

  1. Hanzales! I am trying to get the profile to work for your Red Baron Profile. Here is what ihave added so far(it is not much) --Take average of nose gear to determine position. gear_total = nose_gear + left_gear + right_gear gear_total = gear_total / 3 --Set LED based on gear color. if gear_total == 1 then d:send("SetLed=5g") -- Set LED5 to green elseif gear_total == 0 then d:send("SetLed=5o") -- Set LED5 to off else d:send("SetLed=5r") -- Set LED5 to red end
×
×
  • Create New...