ACM1602N SERIES LCD MODULE
11.0 DISPLAY INSTRUCTION TABLE
Executing
time
COMMAND
R R/ DB DB DB DB DB DB
DB DB
DESCRIPTION
S
W 7
6
5
4
3
2
1
0
fosc=250khz
Clear Display
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
x
Clears Display & Returns to Address 0.
1.64ms
1.64ms
Cursor at
Home
0
0
Returns Cursor to Address 0. Also
returns the display being shifted to the
original position. DDRAM contents
remain unchanged.
Entry Mode
Set
0
0
0
0
0
0
0
0
0
0
0
1
1
I/D
S
B
I/D: Set Cursor Moving Direction
I/D=1: Increment
I/D=0: Decrement
40µs
S: Specify Shift of Display
S=1: The display is shifted
S=0: The display is not shifted
Display
ON/OFF
Control
0
0
D
C
Display D=1: Display on
D=0: Display off
Cursor C=1: Cursor on
C=0: Cursor off
40µs
40µs
Brink
B=1: Brink on
B=0: Brink off
Cursor /
Display
Shift
0
0
0
0
0
0
0
0
1
0
1
1
S/C R/L
x
x
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
Function
Set
DL
N
F
Sets data bus length (DL), # of display
lines (N), and character fonts (F).
DL=1: 8 bits
DL=0: 4 bits
F=0: 5x7 dots
F=1: 5x10 dots
40µs
N=0: 1 line display
N=1: 2 lines display
Set CG RAM
Address
0
0
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
40µs
Set DD RAM
Address
Display Data (DD) RAM Address /
Cursor Address
Sets DD RAM address. DD Ram data
is sent and received after this
instruction.
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
Read Data
1
1
0
1
Write Data
Read Data
Writes data into DDRAM or CGRAM.
Reads data from DDRAM or CGRAM.
46µs
46µs
x: Don't Care.
8
AZ DISPLAYS, INC.
09/17/99