Intelligent character display and671gst/gst-led – Purdy AND671GST User Manual
Page 4
Intelligent Character Display
AND671GST/GST-LED
Purdy Electronics Corporation • 720 Palomar Avenue • Sunnyvale, CA 94085
5/26/08
Tel: 408.523.8200 • Fax: 408.733.1287 •
• www.purdyelectronics.com
4
Display Commands
Instruction
Code
Description
RS
R/W DB7 DB6 DB5
DB4
DB3
DB2
DB1
DB0
1: Clear Display
0
0
0
0
0
0
0
0
0
1
Clears entire display & sets DD RAM address 0 in
address counter.
2: Return Home
0
0
0
0
0
0
0
0
1
*
Sets DD RAM address 0 in address counter. Also
returns display from being shifted to original position.
DDRAM contents remain unchanged.
3: Entry Mode Set
0
0
0
0
0
0
0
1
I/D
S
I/D = 1: Increment
I/D = 0: Increment
S=1: Accompanies display shift
4: Display On/Off
0
0
0
0
0
0
1
D
C
B
I/D = 1/0: Display on/off
I/D = 0/1: Cursor on/off
S=1: Blink of cursor
5: Cursor/Display Shift
0
0
0
0
0
1
S/C
R/L
*
*
S/C=1: Display shift
S/C = 0: Cursor move
R/L = 0: Shift to left
R/L = 1: Shift to right
6: Function Set
0
0
0
0
1
DL
N
F
*
*
DL = 1: 8 bits, DL = 0: 4 bits
N=1: 2 lines, N=0: 1 line
F=1: 5*10 dots, F=0: 5*8 dots
7: Set CG RAM Address
0
0
0
1
A
CG
A
CG
: CG RAM Address
8: Set DD RAM Address
0
0
1
A
DD
A
DD
: DDRAM address corresponds to cursor address
9: Read busy flag/
address counter
0
1
BF
A
C
BF=1: Busy, BF=0: Not busy
A
C
: Address counter used for both of CG & DDRAM
address
10: Write data
1
0
Write Data
Write data to CG or DD RAM
11: Read data
1
1
Read Data
Read data from CG or DD RAM
Execution Time (Et) of Instruction: (Under condition of or f
OSC
= 270 KHz)
1 & 2: Et = 1.52 ms
3 ~ 11: Et = 37
µ
s
***: Either 0 or 1
Connecting Block Diagram