A method of LED driving pulse modulation, comprising the following steps: dividing gray data that has undergone gamma value conversion according to a number of sub-period, a number of gclk (gray scale clock) per line and a composite number to obtain high-gray data, low-gray data and compensation data; and calculating gray data that needs to be displayed in a current sub-period according to the high-gray data, the low-gray data and the compensation data; characterized in that the method further comprises the following steps before the step of dividing gray data that has undergone gamma value conversion according to a number of sub-period, a number of gclk per line and a composite number: calculating a display period according to a set number of sub-period, a set number of gclk per line and a set number of line scan, and comparing the display period with a set frame rate time, and if the display period is greater than the set frame rate time, adjusting the number of sub-period or the number of gclk per line, so that the time of the display period is less than the set frame rate time; and setting a number of gray level according to the number of sub-period and the number of gclk per line, and converting input gray data according to the number of gray level, wherein the number of gray level is the number of sub-period multiplied by the number of gclk per line. dividing gray data that has undergone gamma value conversion according to a number of sub-period, a number of gclk (gray scale clock) per line and a composite number to obtain high-gray data, low-gray data and compensation data; and calculating gray data that needs to be displayed in a current sub-period according to the high-gray data, the low-gray data and the compensation data; characterized in that the method further comprises the following steps before the step of dividing gray data that has undergone gamma value conversion according to a number of sub-period, a number of gclk per line and a composite number: calculating a display period according to a set number of sub-period, a set number of gclk per line and a set number of line scan, and comparing the display period with a set frame rate time, and if the display period is greater than the set frame rate time, adjusting the number of sub-period or the number of gclk per line, so that the time of the display period is less than the set frame rate time; and setting a number of gray level according to the number of sub-period and the number of gclk per line, and converting input gray data according to the number of gray level, wherein the number of gray level is the number of sub-period multiplied by the number of gclk per line. calculating a display period according to a set number of sub-period, a set number of gclk per line and a set number of line scan, and comparing the display period with a set frame rate time, and if the display period is greater than the set frame rate time, adjusting the number of sub-period or the number of gclk per line, so that the time of the display period is less than the set frame rate time; and setting a number of gray level according to the number of sub-period and the number of gclk per line, and converting input gray data according to the number of gray level, wherein the number of gray level is the number of sub-period multiplied by the number of gclk per line.