.21
22.
Turn On/Off Backlight
Direction
Host to LCM
Command
0x10, 0x38 (turn off backlight)
0x10, 0x39 (turn on backlight)
Explain
Turn on or turn off backlight
Response
LCM to Host
Command
0x11(Acknowledge OK)
0x14(Acknowledge Fail and no action executed)
SeDisplay Character Position Address
Direction
Host to LCM
Command
0x10, 0x80~0x8F (Line 1, character 1~16)
0x10, 0xC0~0xCF (Line 2, character 1~16)
Explain
Set character display position
Response
LCM to Host
Command
0x11(Acknowledge OK)
0x14(Acknowledge Fail and no action executed)
Write Display Data into Position Address
Direction
Host to LCM
Command
0x12, 0x00~0xFF (ASCII code and extension ROM code)
Explain
Display character on the position address.
Position address will automatically add 1 bit after data written in
Position address available: 0x80~0x8F, 0xC0~0xCF
Response
LCM to Host
Command
0x11(Acknowledge OK)
0x14(Acknowledge Fail and no action executed)
Button Return Values
Direction
LCM to Host
Command
0x15, Up
0x16, Down
0x17, Enter
0x18, Escape
Explain
LCM will return the corresponded value to Host when key pressed