An engine controller for a vehicle is provided, the engine controller
having a tilt angle sensor incorporated therein. The tilt angle sensor is
operatively connected to an electronic control unit via a signal line.
The electronic control unit is operable to temporarily interrupt the
operations of a fuel injector and/or an ignition coil when a tilt angle
signal is input via the signal line when the tilt angle signal indicates
a tilt angle in excess of a predetermined value. As a result of this
configuration, the number of required parts is reduced and available
space on the vehicle is used effectively.