A lightweight, thin, small size semiconductor device is provided. A pixel
has a display portion, and a light receiving portion comprising a
photodiode. A transistor is used with the semiconductor device for
controlling the operation of the display portion and the light receiving
portion.