A drive current of every terminal pin is regulated according to data stored in
a rewritable non-volatile memory by ON/OFF switching the data by a switch circuit.
By writing data necessary for luminance regulation for correcting luminance variation
or luminance unevenness in the non-volatile memory, luminance variation or luminance
unevenness is reduced.