In this embodiment, the signals SX and SY are generated by performing the calculation process or the data process in accordance with the program stored in the ROM. However, for example, the signals may be generated by the use of a calculation process performed by the CPU or a process performed by the driving quantity converter 105 and 106 in an ASIC in which electronic components such as capacitor