Specifications

Table Of Contents
S1C62740 TECHNICAL SOFTWARE EPSON II-33
CHAPTER 6: PERIPHERAL CIRCUITS (LCD Driver)
LCD display ON/OFF is controlled by register LCDON
(EFH•D0).
Set LCDON to "1" to turn on LCD.
Set LCDON to "0" to turn off LCD.
Figure 6.6.2 is an example of the 7-segment LCD assignment.
g f e
91H
dcba
90H
D3 D2 D1 D0
Address
Register
a
g
fb
ec
d
In the assignment shown in Figure 6.6.2, the 7-segment display
pattern is controlled by writing data to display memory addresses
90H and 91H.
Fig. 6.6.2
7-segment LCD assignment
Example program
for the LCD driver
LCD common control and display ON/OFF
Label Mnemonic/operand Comment
;*
;* LCD DRIVER
;*
;* TURN ON LCD AND USE 4 COMMONS
;
ZLCDC EQU 0EFH ;LCD CONTROL REGISTER
;
LD X,ZLCDC ;SET LCD CONTROL REGISTER ADDRESS
LD MX,0001B ;SET DUTY AS 1/4 (4 COMMONS)
;SET LCD DISPLAY ON
;