d to the FPC 508 forwhich various power sources and signals are inputted are provided over the substrate 501.The data line driver circuit 503 has circuits such as a shift register, a latch, a level shifter, and a buffer, and data signal are outputted to a data line of each column.