| CPC G06F 3/0416 (2013.01) | 3 Claims |

|
1. A display device with a touch panel configured to operate at a variable frame rate that is realized by changing a length of a pause period out of a display period and the pause period, both the display period and the pause period forming one frame, the display device comprising:
the touch panel including a pixel electrode; and
a control unit configured to alternately execute, by the touch panel and during the display period, a write process of writing a data signal on the pixel electrode, and a touch detection process,
wherein the control unit is further configured to:
in two consecutive frames, measure a length of the pause period of a preceding first frame,
based on the measured length of the pause period of the preceding first frame, determine an executable number of times of the touch detection process, to be executed in the pause period of a second frame, of the two consecutive frames, subsequent to the preceding first frame, and
execute the touch detection process a number of times equal to or less than the determined executable number of times in the pause period of the second frame.
|