A display device, including a flexible display panel; and a first detector detecting deformation of the display panel, the display panel including a pixel portion including a plurality of pixels; and a driver including a circuit for writing data to the plurality of pixels, and the first detector being integrated into the driver.