ACM1602B(WHITE EDGELIGHT) SERIES LCD MODULE
AZ DISPLAYS, INC. 4/28/03 8
11.0 DISPLAY INSTRUCTION TABLE
COMMAND
R
S
R/
W
DB
7
DB
6
DB
5
DB
4
DB
3
DB
2
DB
1
DB
0
DESCRIPTION
Executing
time
fosc=250khz
Clear Display
0
0
0
0
0
0
0
0
0
1
Clears Display & Returns to Address 0.
1.64ms
0
0
0
0
0
0
0
0
1
x
Returns Cursor to Address 0. Also
returns the display being shifted to the
original position. DDRAM contents
remain unchanged.
1.64ms
0
0
0
0
0
0
0
1
I/D
S
I/D: Set Cursor Moving Direction
I/D=1: Increment
I/D=0: Decrement
S: Specify Shift of Display
S=1: The display is shifted
S=0: The display is not shifted
40µs
Display
ON/OFF
Control
0
0
0
0
0
0
1
D
C
B
Display D=1: Display on
D=0: Display off
Cursor C=1: Cursor on
C=0: Cursor off
Brink B=1: Brink on
B=0: Brink off
40µs
Cursor /
Display
Shift
0
0
0
0
0
1
S/C
R/L
x
x
Moves cursor or shifts the display w/o
changing DD RAM contents
S/C=0: Cursor Shift (RAM unchanged)
S/C=1: Display Shift (RAM unchanged)
R/L=1: Shift to the Right
R/L=0: Shift to the Left
40µs
Function
Set
0
0
0
0
1
DL
N
F
x
x
Sets data bus length (DL), # of display
lines (N), and character fonts (F).
DL=1: 8 bits F=0: 5x7 dots
DL=0: 4 bits F=1: 5x10 dots
N=0: 1 line display
N=1: 2 lines display
40µs
Set CG RAM
Address
0
0
0
1
Character Generator (CG) RAM
Address
Sets CG RAM address. CG RAM data
is sent and received after this
instruction.
40µs
Set DD RAM
Address
0
0
1
Display Data (DD) RAM Address /
Cursor Address
Sets DD RAM address. DD Ram data is
sent and received after this instruction.
40µs
Busy Flag /
Address Read
0
1
B
F
Address counter used for both DD &
CG RAM address
Reads Busy Flag (BF) and address
counter contents.
40µs
Write Data
1
0 Write Data
Writes data into DDRAM or CGRAM.
46µs
Read Data
1
1 Read Data
Reads data from DDRAM or CGRAM.
46µs
x: Don't Care.