|
GMS81C7216 Datasheet, PDF (76/121 Pages) List of Unclassifed Manufacturers – 8-BIT SINGLE-CHIP MICROCONTROLLERS | |||
|
◁ |
GMS81C7208/7216
example for displaying character is shown below.
Write into the
LCD Memory
GOLCD:
:
CLRG
LDX#DISPRAM
LDA{X}
TAY
LDA!FONT+Y ;LOAD FONT DATA
LDMRPR,#1;Set RPR = 1 to access LCD
SETG ;Set Page 1
LDX#0
STA{X}+;LOWER 4 BITS OF ACC. -> M(X)
XCN
STA{X} ;UPPER 4 BITS OF ACC. -> M(X+1)
CLRG ;Set Page = 0
:
:
Font data
FONT
DB 1101_0111B; â0â
DB 0000_0110B; â1â
DB 1110_0011B; â2â
DB 1010_0111B; â3â
DB 0011_0110B; â4â
DB 1011_0101B; â5â
DB 1111_0101B; â6â
DB 0000_0111B; â7â
DB 1111_0111B; â8â
DB 0011_0111B; â9â
Note: When power on RESET, an oscillation start up time
is required. Enable LCD display after an oscillation is stabi-
lized, or LCD may occur flicker at power on time shortly.
72
FEB. 2005 Ver 1.04
|
▷ |