Arduino code for 3DOF Flight Simulator