A data line driver includes a counter, a data converter, a gray-scale
voltage generating circuit, multiple voltage selectors and multiple
output circuits. Each voltage selector receives n voltages generated by
the gray-scale voltage generating circuit. The voltage selector includes:
n switches; a capacitor which holds electric charges; and a selector
which generates n control signals to control ON and OFF of the n
switches, respectively. The voltage selector selects two voltages out of
the n voltages, and makes a control signal variable which is inputted
into one of switches to which the two voltages are respectively applied.
Thereby, the voltage selector generates k intermediate voltages, and
outputs the n voltages and the k intermediate voltages.