ST7920
l
Display Control
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
0
1
D
C
B
Code
Controls display, cursor and blink ON/OFF.
D: Display ON/OFF control bit
When D = "1", display ON
When D = "0", display OFF, the content of DDRAM is not changed
C: Cursor ON/OFF control bit
When C = "1", cursor ON.
When C = "0", cursor OFF.
B: Character Blink ON/OFF control bit
When B = "1", cursor position blink ON. Then display data (character) in cursor position will blink.
When B = "0", cursor position blink OFF
l
Cursor/Display Shift Control
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
1
S/C R/L
X
X
Code
This instruction configures the cursor moving direction or the display shifting direction. The content of DDRAM is
not changed.
S/C
L
R/L
L
Description
Cursor moves left by 1 position
AC Value
AC=AC-1
AC=AC+1
AC=AC
L
H
Cursor moves right by 1 position
H
L
Display shift left by 1, cursor also follows to shift.
Display shift right by 1, cursor also follows to shift.
H
H
AC=AC
V4.0
20/49
2008/08/18