English
Language : 

WP1602A-Y-JCS Datasheet, PDF (13/20 Pages) List of Unclassifed Manufacturers – WP1602A-Y-JCS
11.Instruction Table
Instruction Code
Instruction
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Description
Execution time
(fosc=270Khz)
Clear Display 0
Return Home 0
Entry Mode
0
Set
Display
ON/OFF
0
Control
Cursor or
0
Display Shift
Function Set 0
Set CGRAM
0
Address
Set DDRAM
0
Address
Read Busy
Flag and
0
Address
Write Data to
1
RAM
Read Data
1
from RAM
0 0 0 0 0 0 0 0 1 Write “00H” to DDRAM and set
DDRAM address to “00H” from AC
Set DDRAM address to “00H” from AC
0 0 0 0 0 0 0 1 - and return cursor to its original position
if shifted. The contents of DDRAM are
not changed.
Assign cursor moving direction and
enable the shift of entire display.
0 0 0 0 0 0 1 I/D SH I/D=1:Increment;0: Decrement
SH=1:Display shift on
Set display (D), cursor (C), and blinking
of cursor (B) on/off control bit.
0 0 0 0 0 1 D C B D=1:Display on
C=1:Cursor display on
B=1:Cursor blink on
Set cursor moving and display shift
control bit, and the direction, without
0 0 0 0 1 S/C R/L - - changing of DDRAM data.
S/C=1:Shift display;0:Move cursor
R/L=1:Shift right;0:Shift leftf
Set interface data length (DL)
DL=1:8-bit;0:4-bit
0
0
0
1 DL N
F
-
-
Set numbers of display lines(N)
N=1:Dual line;0:Single line
Set display font type (F)
F=1:5x10 dots;0:5x8dots
0 0 1 AC5 AC4 AC3 AC2 AC1 AC0 Set CGRAM address in address counter.
0 1 AC6 AC5 AC4 AC3 AC2 AC1 AC0 Set DDRAM address in address counter.
Whether during internal operation or not
can be known by reading BF. The
1 BF AC6 AC5 AC4 AC3 AC2 AC1 AC0 contents of address counter can also be
read.
BF=1:Internal operation
BF=0:Ready for instruction
0 D7 D6 D5 D4 D3 D2 D1 D0 Write data into internal RAM
(DDRAM/CGRAM).
Read data from internal RAM
1 D7 D6 D5 D4 D3 D2 D1 D0
(DDRAM/CGRAM).
1.52ms
1.52ms
37μ s
37μ s
37μ s
37μ s
37μ s
37μ s
0μ s
37μ s
37μ s
* ”-”:don’t care
第 13 頁,共 20 頁
www.dblectro.com