Clear Display
RS
0
R/W
0
DB7
0
DB6
0
DB5
0
DB4
0
DB3
0
DB2
0
DB1
0
DB0
1
This instruction is used to clear the display by writing 0x20 in all DDRAM addresses. This instruction does not change the
DDRAM Address.
Return Home
RS
0
R/W
0
DB7
0
DB6
0
DB5
0
DB4
0
DB3
0
DB2
0
DB1
1
DB0
0
This instruction is used to set the DDRAM Address to 0x00 and shifts the display back to the original state. The cursor (if
on) will be at the first line’s left‐most character. The DDRAM contents on the display do not change.
Entry Mode Set
RS
0
R/W
0
DB7
0
DB6
0
DB5
0
DB4
0
DB3
0
DB2
1
DB1
I/D
DB0
S
I/D = Increment/Decrement
When I/D = “1”, the DDRAM or CGRAM Address with automatically increment when a character code is written into or
read from the DDRAM or CGRAM. The auto‐increment will move the cursor one character space to the right.
When I/D = “0”, the DDRAM or CGRAM Address with automatically decrement when a character code is written into or
read from the DDRAM or CGRAM. The auto‐decrement will move the cursor one character space to the left.
S = Shift Entire Display
When S = “1”, the entire display is shifted to the right (when I/D = “0”) or left (when I/D = “1”).
I/D=1, S=1
I/D=0, S=1
[8]