PAGE
STANDARD
NAME
6.5.4 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
This instruction selects whether the display and cursor are on or off and selects whether or not the
character at the current cursor position blinks. DDRAM, CGRAM, and AC contents are not affected
by this instruction.
D = 0:
The display is off (display blank).
D = 1:
The display is on (contents of DDRAM displayed).
C = 0:
The cursor is off.
C = 1:
The cursor is on (8th
row of pixels).
B = 0:
The blinking character function is disabled.
B = 1:
The blinking character function is enabled (a character with all pixels on will alternate with the
character displayed at the current cursor position at about a 1Hz rate with a 50% duty cycle).
6.5.5 CURSOR/DISPLAY SHIFT
RS
R/W
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 0 0 1
S/C
R/L
x x
x = don’t care
This instruction increments or decrements the AC (cursor position) and shifts the information on the
display one character position to the left or right without accessing DDRAM or CGRAM. DDRAM
and CGRAM contents are not affected by this instruction. If the AC was addressing CGRAM prior to
this instruction, the AC will be addressing DDRAM after this instruction. However, if the AC was
addressing DDRAM prior to this instruction, the AC will still be addressing DDRAM after this
instruction.
S/C
R/L
AC contents (cursor position)
Information on the display
0 0
Decrements by one
No change
0 1
Increments by one
No change
1 0
Decrements by one
Shifts one character position to the left
1 1
Increments by one
Shifts one character position to the right
20/24
REV. NO.
03
DOCUMENT NO.