Disclosed is a method for driving a display. The method includes calculating differences between digital codes corresponding to grayscale voltages each provided to pixels connected to the same data line and gate lines which are sequentially driven, summing digital code differences of a threshold value or more, generating a compensation code corresponding to the summation result, and providing grayscale voltages compensated with the compensation code to pixels of which digital codes have a difference of less than the threshold value.