Instruction Code
R/wu
(wan)
5a cursor movmg and display smn
R/L: “1" shrfltonght
R/L: shmom
[8]
1. Fundamental Command Set
Command IS RE SD
Description
D/C#
D7 D6 D5 D4 D3 D2 D1 D0
Cursor or
Display Shift 0 0 0 0 0 0 0 0 1 S/C R/L * *
Set cursor moving and display shift
control bit, and the direction, without
changing DDRAM data.
S/C = "1": display shift,
S/C = "0": cursor shift,
R/L = "1": shift to right,
Height (4-
Line)/
Display-dot
0 1 0 0 0 0 0 0 1 UD2 UD1 * DH’
UD2~1: Assign different doubt height
format (POR=11b)
Refer to Table 7-2 for details
DH’ = "1": display shift enable
DH’ = "0": dot scroll enable (POR)
Shift Enable 1 1 0 0 0 0 0 0 1 DS4 DS3 DS2 DS1
DS[4:1]=1111b (POR) when DH’ = 1b
Determine the line for display shift.
DS1 = "1/0": 1st line display shift
enable/disable
DS2 = "1/0": 2nd line display shift
enable/disable
DS3 = "1/0": 3rd line display shift
enable/disable
DS4 = "1/0": 4th line display shift
enable/disable.
Scroll Enable 1 1 0 0 0 0 0 0 1 HS4 HS3 HS2 HS1
HS[4:1]=1111b (POR) when DH’ = 0b
Determine the line for horizontal
smooth scroll.
HS1 = "1/0": 1st line dot scroll
enable/disable
HS2 = "1/0": 2nd line dot scroll
enable/disable
HS3 = "1/0": 3rd line dot scroll
enable/disable
HS4 = "1/0": 4th line dot scroll
enable/disable.
Function Set
X 0 0 0 0 0 0 1 * N DH RE
(0) IS
Numbers of display line, N
when N = "1":
2-line (NW=0b) / 4-line (NW=1b),
when N = "0":
1-line (NW=0b) / 3-line (NW=1b)
DH = “ 1/0”: Double height font control
for 2-line mode enable/ disable (POR=0)
Extension register, RE ("0")
Extension register, IS
X 1 0 0 0 0 0 1 * N BE RE
(1) REV
CGRAM blink enable
BE = 1b: CGRAM blink enable
BE = 0b: CGRAM blink disable (POR)
Extension register, RE ("1")
Reverse bit
REV = "1": reverse display,
REV = "0": normal display (POR)