Sharp LM161 Series User Manual page 18

Dot-matrix lcd units
Table of Contents

Advertisement

Dot-Matrix LCD Units
Display ON/OFF
RS R/W
DB
7
0
0
0
CODE
0
D: When D = 1, the display is turned on.
When D = 0, the display is turned off with the
display data retained in the display data RAM.
C: When C = 1, the cursor is displayed in the
position specified by the address counter. When
C = 0, the cursor is not displayed. The cursor is
made up of five dots displayed across the 8th
display row, below the 5 × 7 dot-matrix character
block. For 5 × 10 dot-matrix character blocks, 5
dots are displayed across the 11th row.
B: When B = 1, the character at the cursor position
blinks on and off. When this function is acti-
vated, at fcp or fosc = 250 kHz, alternating
between all dots black, and the display charac-
ter, the character is alternately displayed for
409.6 ms and blanked for 409.6 ms. The cursor
may be used simultaneously with the character
blink function. (Blink frequency varies in propor-
tion to the reciprocal of f
409.6 × 250/270 = 379.2 ms; f
Cursor
Character Font
Character Font
5 x 7 dot
5 x 10 dot
(A) Cursor Function
Display/Cursor Shift
RS R/W
DB
7
0
0
0
CODE
0
NOTE:
= Don't Care
*
16
DB
0
0
0
1
D
C
B
or f
.
CP
OSC
= 270 kHz.)
CP
(B) Character Blink Function
LCD27-16
DB
0
0
1 S/C R/L
*
*
The display and/or cursor are shifted to the right
or left. For two-line displays, the cursor moves from
the 40th position of the top line to the first position of
the second line. From the 40th position of the
second line, the cursor does not move back to the
home position, but rather to the first position of the
second line.
6&
5/


6KLIW WKH FXUVRU WR WKH OHIW $&


6KLIW WKH FXUVRU WR WKH ULJKW $&


6KLIW WKH HQWLUH GLVSOD\ ZLWK WKH FXUVRU WR WKH OHIW


6KLIW WKH HQWLUH GLVSOD\ ZLWK WKH FXUVRU WR WKH ULJKW
When the display is shifted, the address counter is
NOTE:
not affected.
Function Set
RS R/W
DB
7
0
0
0
CODE
0
NOTE:
= Don't Care
*
DL: Selects the interface data length. When DL = 1,
8-bit data transfers are used. When DL = 0, 4-bit
data transfers are used.
NOTE
When using a 4-bit data length, two transfer operations
are needed to transfer a complete data word to or from
the external micoprocessor.
N: Selects display format (single or dual line). See
Table 12 for the correct input value for each
model.
CAUTION
The function set instruction must be executed at the
beginning of the microprocessor program, before all other
instructions except the busy flag/address counter read
instruction. The function set instruction cannot be exe-
cuted again except to change the interface data length.
Once set, the display format cannot be changed.
$&   
$& 
DB
0
1
DL N
0
*
*
Display Unit User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lm162 seriesLm202 seriesLm40 2 series

Table of Contents