Code for Aircraft Navigation Light Controller