Patent ID: 7663578

Claim:
A semiconductor device comprising: a data line; first to third scan lines; first and second power source lines; a light-emitting element; a first transistor of which a gate terminal is connected to the data line, and a first terminal is connected to the first power source line; a second transistor of which a gate terminal is connected to the first scan line, and a first terminal is connected to a second terminal of the first transistor; a memory circuit; a switching circuit; and a third transistor of which a gate terminal is connected to the switching circuit, and a second terminal is connected to the light-emitting element, wherein the memory circuit is connected to a second terminal of the second transistor and the second scan line, wherein the switching circuit is connected to the second terminal of the second transistor, the memory circuit, and the third scan line, and wherein the switching circuit conducts switching between the third transistor, and the memory circuit and the second power source line, and applies an input potential to the gate terminal of the third transistor.