A controller includes a register storing a group of parameters including a
driving-control parameter for controlling a data line driving circuit and
a scanning line driving circuit, a parameter controller for updating
values of the group of parameters stored in the register and for
initializing the values of the group of parameters stored in the register
when a reset signal RES is input, and a driving controller for
controlling a data line driving circuit and a scanning line driving
circuit in accordance with the driving-control parameter stored in the
register. The driving controller controls the data line driving circuit
and the scanning line driving circuit such that turn-off voltage is
applied to a plurality of pixels after the parameter controller updates
the values of the group of parameters by the reset signal.