buydisplay.com
EastRising
4.2.18 Backlight Control Command
Using the PWM export of the ER-TFT028A2-4-5465, can be used to control the brightness of the
backlight. The backlight control command only needs to be transmitted to the TFT panel UART or
SPI. It is a fixed command of Host, and it is not settled in UartTFT_Tool or
“UartTFT.ini”.
Table 4-21: Backlight Control Command
Command
Function
Code
No.
Command Parameter
Command Description
Adjust
Backlight
Brightness
BAh
--
BL
Control the backlight brightness
through PWM1. BL represents the
brightness (00~1Fh), which is
hexadecimal unit of 1 Byte; the larger
the value, the brighter the backlight.
Panel Display
On/Off
BCh
--
0/1
0: Display Off
;
1: Display On
;
The backlight brightness adjustment command does not need to be written in
“UartTFT.ini”
. For
example, when the UART transmits commands
BAh, 05
to TFT panel, the backlight of the TFT panel
becomes dark. When the UART transmits commands
BAh, 0E
to TFT panel, then the backlight of the TFT
panel will be brighter.
When the UART transmits the command
BCh, 00
to TFT panel, the display of the TFT panel will be
turned off (Display Off); if the command
BCh, 01
is sent to the TFT panel, the display of the TFT panel
will be turned on (Display On) . Note: After the display is off, the TFT panel will not accept any drawing
function instructions until the TFT panel receives the Display On command.