ST7920
l Display Control
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Code 0 0 0 0 0 0 1 D C B
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
Code 0 0 0 0 0 1 S/C R/L X X
This instruction configures the cursor moving direction or the display shifting direction. The content of DDRAM is
not changed.
S/C R/L
Description
AC Value
L
L Cursor moves left by 1 position
AC=AC-1
L
H Cursor moves right by 1 position
AC=AC+1
H
L Display shift left by 1, cursor also follows to shift.
AC=AC
H
H Display shift right by 1, cursor also follows to shift.
AC=AC
V4.0
20/49
2008/08/18