With 12864 Pin 5V Blue Screen LCD Screen Chinese MCU LCD Font Matching
12864 blue screen with Chinese font
Data address:/s/1eQsuNQi
ST7920
*************************************;
8BIT (INTERFACE CONTROLLER:ST7920)
128 * 64 dot matri
EDITOR:ZY;
CRYSTAL:12MHz;
RW=P3.1 E=P3.2 D0-D7=P1 RS=P3.0
*************************************;
EQU P3.0 H=DATA; RS, L=COM
EQU P3.1 H=READ; RW, L=WRITE
EQU P3.2 E;
COM EQU 30H; the control word register unit
DAT EQU 31H; display data buffer unit
CODER EQU 32H; the character code storage unit
ADDR EQU 33H; address register unit
0000H ORG
MAIN AJMP
0030H ORG
MAIN:
SP #60H, MOV
P3 #0F8H, MOV
DEL_20MS LCALL
DEL_20MS LCALL
INI LCALL; enter the initialization subroutine
ADDR #80H, MOV
DPTR #WEL_1, MOV
W_LINE LCALL
ADDR #90H, MOV
DPTR #WEL_2, MOV
W_LINE LCALL
DEL_1500MS LCALL
ADDR #80H, MOV
DPTR #WEL_3, MOV
W_LINE LCALL
ADDR #90H, MOV
DPTR #WEL_4, MOV
W_LINE LCALL
DEL_1500MS LCALL
ADDR #80H, MOV;
DPTR #HZ_1, MOV;
W_LINE LCALL
ADDR #90H, MOV;
DPTR #HZ_2, MOV;
W_LINE LCALL
DEL_1500MS LCALL; after the delay shows the net page
ADDR #80H, MOV;
DPTR #HZ_3, MOV;
W_LINE LCALL
ADDR #90H, MOV;
DPTR #HZ_4, MOV;
W_LINE LCALL
DEL_1500MS LCALL
MAIN LJMP
INI:
COM MOV, #30H; function setting, basic instruction
WCOM LCALL
COM #30H, MOV; basic instruction, 8-bit mode, basic instruction
WCOM LCALL
MOV COM, #0CH; display, cursor, turn white
WCOM LCALL
COM #01H, MOV; clear display
WCOM LCALL
MOV COM, #06H; enter the set point, 7 cursor right, the picture is not moving
WCOM LCALL
RET
W_LINE:; write a line of 8 Chinese characters subroutine
COM ADDR, MOV;
WCOM LCALL;
MOV R2, #20; 16 cycles, continuous write 8 or 16 ASCII Chinese characters
W_L1:
A #00H, MOV
A A+DPTR, MOVC
CODER A, MOV
WCODE LCALL
DPTR INC
R2 W_L1, DJNZ
RET
WCOM:; write instruction subroutine
CLR RS
RW SETB
WC1:
P1 #0FFH, MOV
SETB E
A P1, MOV
CLR E
ACC.7 WC1, JB; check busy
CLR RW
P1 COM, MOV
SETB E
CLR E
RET
WCODE:; write code subroutine
CLR RS
RW SETB
WCO1:
P1 #0FFH, MOV
SETB E
A P1, MOV
CLR E
ACC.7 WCO1, JB
RS SETB
CLR RW
P1 CODER, MOV
SETB E
CLR E
RET
DEL_20MS:
R0 #20, MOV
D2:
R1 #200, MOV
D1:
NOP
NOP
NOP
R1 D1, DJNZ
R0 D2, DJNZ
RET
DEL_100MS:
DEL_20MS LCALL
DEL_20MS LCALL
DEL_20MS LCALL
DEL_20MS LCALL
DEL_20MS LCALL
RET
DEL_500MS:
DEL_100MS LCALL
DEL_100MS LCALL
DEL_100MS LCALL
DEL_100MS LCALL
DEL_100MS LCALL
RET
DEL_1500MS:
DEL_500MS LCALL
DEL_500MS LCALL
DEL_500MS LCALL
RET
WEL_3:
DB 128 * 64 Chinese font"
HZ_1:
DB "inside the 8192 Chinese characters"
HZ_2:
DB serial and parallel selection"
HZ_3:
DB "adaptation M6800 timing"
HZ_4:
DB "* * thank you for using * *"
END
Send Inquiry to This Supplier
You May Also Like
-
Men's BootsNegotiableMOQ: 2000 Pairs
-
2.4 Inch USART HMI Serial Screen Font With Picture TFT LCD Module With ConfigurationUS$ 1 - 100MOQ: 1 Piece
-
Men's Boots Lace-Up ZipperUS$ 19.99 - 29MOQ: 100 Pairs
-
Nike Air Jordan 5 Retro HighUS$ 120MOQ: 1 Pair
-
Magnetic Removable Heating InsoleUS$ 15 - 40MOQ: 500 Pairs
-
D341 Plush USB Laptop PC Electric Heating Slippers Heated Shoes Foot Warmer Piggy New GrayUS$ 0.5 - 2MOQ: 2000 Pieces
-
Battery Heated Insoles With Leg Straps Battery Powered for Men Women Foot WarmerNegotiableMOQ: 300 Sets
-
Modern New Products Lady Kinky Boot Heated InsoleUS$ 3 - 4MOQ: 2000 Pairs
-
Newest Fashion Heated Slippers USB Warmer Shoes Electric USB Warm Slippers For WholesaleNegotiableMOQ: 100 Pairs
-
Electrically Heated Shoes,electric Warm Shoes,vibration Electric Foot WarmersNegotiableMOQ: 2000 Sets