KFY G16080-1 series User Manual page 7

Dot matrix liquid crystal display module
Table of Contents

Advertisement

9.1.1
Mode Control
Code $"00" (hexadecimal) written into the instruction register specifies the mode control register.
REGISTER
Instruction Register
Mode Control Register
DB5
DB4
DB3
0
0
1
1
1/0
1/0
0
0
1
1
0
1:
Master Mode
1:
Display ON
9.1.2
Set Character Pitch
REGISTER
Instruction Register
Character Pitch Register
V p indicates the number of vertical dots per character. The space between the vertically-displayed characters is considered for
determination. This value is meaningful only during character display (in the character mode) and becomes invalid in the
graphi c mode. The Hp indicates the number of horiz ontal dots per character in display including the space between
horiz ontally-displayed characters. In the graphic mode, the Hp indicates the number of bits of 1 byte display data to be
displayed. Three Hp values :
Hp
DB2
6
7
8
9.1.3
Set Number of Characters
REGISTER
Instruction Register
Number of Character Register
Hn indicates the number of horiz ontal characters in the character mode r the number of horiz ontal bytes in the graphic mode. If
the total sum of horiz ontal dots on the screen is taken as n, n = Hp x Hn .
Hn can be set with an even number of 2 to 128 (decimal).
9.1.4
Set Number of Time Division (inverse of display duty ratio)
REGISTER
Instruction Register
Character Pitch Register
Nx indicates the number of time division in multiplex display. 1/Nx is a display duty ration.
A value of 1 to 128 (decimal) can be set to Nx.
9.1.5
Set Cursor Position
REGISTER
Instruction Register
Cursor Position Register
Cp indicates the position in a character where the cursor is displayed in the character mode. For ex ample, in 5x7 dot font, the
cursor is displayed under a character by specifying Cp=8 (decimal). The cursor horiz ontal length is equal to the horiz ontal
cha racter pitch Hp. A value of 1 to 16 (decimal) can be set to Cp. If a smaller value than the number of vertical character
pitches V p is set (Cp≦V p), and a character is overlapped with the cursor, the cursor has higher priority of display (at cursor
display ON). If Cp is greater than V p, no cursor is displayed. The cursor horiz ontal length is equal to Hp.
R/W
RS
0
1
0
0
DB2
DB1
DB0
0
1
0
0
1
0
0
1
0
1
1
0
1
0
0:
Slave Mode
0:
Display OFF
R/W
RS
0
1
0
0
DB1
1
0
1
1
1
1
R/W
RS
0
0
R/W
RS
0
1
0
0
R/W
RS
0
1
0
0
PAGE
PAGE
PAGE 6 6 6 6
PAGE
DB7
DB6
DB5
0
0
0
0
Cursor/blink
Cursor OFF
Cursor ON
Cursor OFF, Character blink
Cursor blink
Cursor OFF
Cursor ON
Cursor OFF, Character blink
Cursor blink
*Normal is set Master Mode
DB7
DB6
DB5
0
0
(Vp -1) Binary
DB0
1
0
1
DB7
DB6
1
0
0
0
0
DB7
DB6
DB5
0
0
DB7
DB6
DB5
0
0
0
0
DB4
DB3
0
0
0
Mode Data
CG
Internal
CG
Internal
CG
DB4
DB3
0
0
0
0
Horiz ontal character pitch 6
Horiz ontal character pitch 7
Horiz ontal character pitch 8
DB5
DB4
DB3
0
0
0
(Hn -1) Binary
DB4
DB3
0
0
0
(Nx -1) Binary
DB4
DB3
0
0
0
0
0
DB2
DB1
DB0
0
0
0
Graphic/Character
Character Mode
Graphic Mode
DB2
DB1
DB0
0
0
1
(Hp -1) Binary
DB2
DB1
DB0
0
1
0
DB2
DB1
DB0
0
1
1
DB2
DB1
DB0
1
0
0
(Cp -1) Binary

Advertisement

Table of Contents
loading

Table of Contents