To generate a drive wave for driving a piezo-actuator. Drive data concerning the number of drive waves supplied through a serial bus is stored in a drive data storage unit. A comparing circuit detects whether or not the number of drive waves have been generated, the number being specified by the drive data, and the drive wave keeps being generated until such detection is made.