S6A0072
16COM/40SEG DOT MATRIX LCD CONTROLLER & DRIVER
Display ON/OFF Control
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
0
0
0
0
1
D
C
B
Control display/cursor/blink ON/OFF 1 bit register.
D:
Display ON/OFF control bit
When D = "High", entire display is turned on.
When D = "Low", entire display is turned off, but display data is remains in DDRAM.
C:
Cursor ON/OFF control bit
When C = "High", cursor is turned on.
When C = "Low", cursor is disappeared in current display, but I/D register preserves its data.
B:
Cursor Blink ON/OFF control bit
When B = "High", cursor blink is on, performs alternately between all high data (black pattern) and
display character at the cursor position.
When B = "Low", blink is off.
Cursor or Display Shift
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
0
0
0
1
S/C
R/L
*
*
Without writing or reading of display data, shift right/left the cursor position or display. This instruction is used to
correct or search display data. (Refer to Table 4) during 2-line mode display, cursor moves to the 2nd line after
8th digit of 1st line. Note that display shift is performed simultaneously in all the line. When displayed data is
shifted repeatedly, each line is shifted individually. When display shift is performed, the contents of address
counter are not changed.
Table 4. Shift patterns according to S/C and R/L bits
R/C
R/L
Operation
0
0
Shift cursor to the left, AC is decreased by 1
0
1
Shift cursor to the right, AC is increased by 1
1
0
Shift all the display to the left, cursor moves according to the display
1
1
Shift all the display to the right, cursor moves according to the display
14