This electronic control unit 6 is a device constructed mainly of a microcomputer and is constructed to receive data including the intake air rate, the accelerator position, the engine water temperature and the engine speed NE thereby to determine and output the controlled variables such as the ignition timing or the throttle opening on the basis of the data stored in advance and the data inputted