Display Variables - KFY G16080-1 series User Manual

Dot matrix liquid crystal display module
Table of Contents

Advertisement

9.1.12
Set Bit
REGISTER
Instruction Register
Bit Set Register
The Clear/Set bit instruction sets 1 bit in a byte of display data RAM to 0 or 1, respectively. The position of the bit in a byte is
specified by NB and RAM address is specified by cursor address. After the ex ecution of the instruction, the cursor address is
automatically increased by 1. NB is a value of 1 to 8.
9.1.13
Read Busy Flag
REGISTER
Busy Flag
When the read mode is set with RS=1, the busy flag is output to DB7. The busy flag is set to 1 during the ex ecution of any of
instructions (1) to (13). After the ex ecution, it is set to 0. The nex t instruction can be accepted. No instruction can be accepted
when busy flag=1. Before ex ecuting an instruction or writing data, perform a busy flag check to make sure that busy flag is 0.
When data is written in the register (RS=1), no busy flag changes. Thus, no busy flag check is required just after the write
operation into the instruction register with RS=1. The busy flag can be read without specifying any instruction register.

9.2 Display variables

Nx
R/W
RS
0
1
0
0
R/W
RS
0
1
Hp
Hp
Hp
Hp
RD0
RD7
□■■■□□□□
■■■■□□□
■□□□■□□□
■□□□■□□
■□□□■□□□
■□□□■□□
■□□□■□□□
■■■■□□□
■■■■■□□□
■□□□■□
Vp
■□□□■□□□
■□□□■□
■□□□■□□□
■■■■□□
□□□□□□□□
□□□□□□
□□□□□□□□
■■■■■
□□□□□
□□□
□□
S TA
□□□□□□□□
□■■■□□□□
■□□□■□□□
■□□□■□□□
■□□□■□□□
■□□□■□□□
■□□□■□□□
□■■■□□□□
□□□□□□□□
□□□□□□□□
PAGE
PAGE
PAGE
PAGE 8 8 8 8
DB7
DB6
DB5
0
0
0
0
0
0
NB=1 and NB=8 indicates LSB and MSB, respectively.
DB7
DB6
DB5
1/0
■■■■■□□□
□□□□■□□□
□□□■□□□□
□□■□□□□□
Cp
□■□□□□□□
■□□□□□□□
■■■■■□□□
□□□□□□□□
□□□□□□□□
□□□□□□□□
CURA
Hn (digits)
DB4
DB3
DB2
0
1
1
0
0
DB4
DB3
DB2
*
DB1
DB0
1
1
DB1
DB0

Advertisement

Table of Contents
loading

Table of Contents