完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
SH_CP bit P0.0
ST_CP bit P0.1 DDS bit P0.2 MR bit P0.3 OE bit P0.4 E1 bit P1.3 E2 bit P1.4 E3 bit P1.5 KEY1 bit P2.0 KEY2 bit P2.1 KEY3 bit P2.2 ORG 0000H AJMP MAIN ORG 0030H MAIN: MOV 55H,#06 MOV SP,#64H MAIN3: MOV DPTR,#TAB CLR MR CLR ST_CP NOP SETB ST_CP SETB MR CLR OE MOV R4,#216 MAIN1: CLR E1 CLR E2 CLR E3 MOV R5,55H MAIN2: JB KEY2,S_STOP JNB KEY2,$ CPL 0EH S_STOP: JB 0EH,MAIN1 JB KEY1,JIAN JNB KEY1,$ CPL 0FH JIAN: JB KEY3,Q_OUT JNB KEY3,$ DEC 55H MOV R5,55H CJNE R5,#0,Q_OUT MOV 55H,#06H Q_OUT: MOV R2,#0 MOV R1,#0 PANT: MOV 54H,#03 MOV 53H,#08 GG: MOV 50H,#08 FF: MOV A,R1 ANL A,#07H MOV P1,A INC R1 ACALL GC MOV A,53H ORL P1,A ACALL MS DJNZ 50H,FF MOV A,53H RL A MOV 53H,A DJNZ 54H,GG DJNZ R5,MAIN2 JB 0FH,M_STOP INC DPTR INC DPTR INC DPTR DJNZ R4,MAIN1 AJMP MAIN3 M_STOP: AJMP MAIN1 GC: SETB MR SETB OE MOV 51H,#03 AAA: MOV A,R2 MOVC A,@A+DPTR MOV R3,#8 AA: RLC A MOV DDS,C CLR SH_CP NOP SETB SH_CP DJNZ R3,AA CLR ST_CP NOP SETB SH_CP INC R2 DJNZ 51H,AAA CLR OE RET MS: MOV R6,#5 DELAY: MOV R7,#190 DJNZ R7,$ DJNZ R6,DELAY RET TAB: DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H; DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H;"",0 DB 00H,00H,00H,00H,00H, 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H;"",0 DB 00H,00H,00H,80H,03H;1CH,0C0H,03H,1EH,60H,03H,1BH,20H,80H,19H,20H,0C0H,18H,20H,60H,18H,60H,38H,18H; DB 0E0H,3FH,18H,0C0H,1FH,1FH,80H,07H,1FH,00H,00H,00H;"2",1 DB 00H,00H,00H,00H,0C0H,00H,00H,0F0H,00H,00H,0B8H,00H,00H,8EH,00H,00H,87H,10H,0C0H,81H,10H,0E0H,0FFH,1FH; DB 0F0H,0FFH,1FH,0F0H,0FFH,1FH,00H,80H,10H,00H,80H,10H;"4",1 DB 00H,00H,00H,00H,42H,00H,00H,66H,00H,00H,66H,00H,00H,7EH,00H,00H,3CH,00H,0C0H,0FFH,03H,0C0H,0FFH,03H; DB 00H,3CH,00H,00H,7EH,00H,00H,66H,00H,00H,66H,00H;"*",2 DB 00H,00H,00H,80H,03H,1CH,0C0H,03H,1EH,60H,03H,1BH,20H,80H,19H,20H,0C0H,18H,20H,60H,18H,60H,38H,18H; DB 0E0H,3FH,18H,0C0H,1FH,1FH,80H,07H,1FH,00H,00H,00H;"2",2 DB 00H,00H,00H,00H,0C0H,00H,00H,0F0H,00H,00H,0B8H,00H,00H,8EH,00H,00H,87H,10H,0C0H,81H,10H,0E0H,0FFH,1FH; DB 0F0H,0FFH,1FH,0F0H,0FFH,1FH,00H,80H,10H,00H,80H,10H;"4",3 DB 00H,00H,00H,00H,00H,00H,00H,00H,40H,00H,00H,60H,00H,00H,78H,00H,00H,38H,00H,0FEH,01H,00H,0FEH,01H; DB 00H,84H,04H,00H,84H,1CH,00H,84H,38H,0FCH,87H,30H,0FCH,87H,00H,24H,84H,04H,20H,84H,1CH,20H,84H,38H; DB 20H,84H,30H,20H,0FEH,01H,20H,0FEH,05H,30H,0FEH,0DH,30H,00H,38H,20H,00H,38H,00H,00H,20H,00H,00H,00H;"点",4 DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,0F8H,0FFH,7FH,0F8H,0FFH,7FH,08H,02H,01H,88H,07H,03H,0F8H,8DH,03H; DB 78H,0F8H,01H,38H,0F0H,03H,20H,10H,02H,20H,1EH,02H,0E0H,1FH,02H,0F8H,13H,02H,7CH,10H,02H,2CH,0FFH,7FH; DB 24H,0FFH,7FH,20H,11H,7EH,20H,10H,02H,20H,10H,02H,30H,18H,03H,30H,08H,01H,20H,00H,01H,00H,00H,00H;"阵",5 DB 00H,00H,00H,00H,02H,00H,00H,02H,00H,00H,02H,00H,04H,02H,00H,3CH,0FEH,1FH,38H,0FEH,1FH,30H,0EH,5CH; DB 00H,0CH,46H,00H,06H,43H,00H,0FH,61H,0FCH,1BH,20H,0FCH,79H,30H,18H,0E8H,19H,08H,88H,0FH,08H,08H,0EH; DB 08H,88H,0FH,0FCH,0E9H,1BH,0FCH,0F9H,30H,00H,39H,30H,00H,09H,70H,00H,01H,60H,00H,01H,20H,00H,00H,20H;"设",6 DB 00H,00H,00H,00H,04H,00H,00H,04H,00H,00H,04H,00H,04H,04H,00H,1CH,0FCH,3FH,38H,0FCH,3FH,38H,04H,1CH; DB 30H,00H,0EH,00H,04H,07H,00H,84H,01H,00H,84H,00H,00H,04H,00H,00H,04H,00H,0FCH,0FFH,7FH,0FCH,0FFH,7FH; DB 0FCH,0FFH,7FH,00H,04H,00H,00H,04H,00H,00H,04H,00H,00H,06H,00H,00H,02H,00H,00H,02H,00H,00H,00H,00H;"计",7 DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H; DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H;"",8 DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H; DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H;"",8 END
|
|
相关推荐
|
|
请问楼主 这个24等显示的字符取模是和字体或者什么东西有关吗?这个字模取不出来,或者去了之后替换有乱码。
然后PCtoLCD不能通过上述DB反推有点难受。 |
|
|
|
|
|
6130 浏览 3 评论
7398 浏览 1 评论
7633 浏览 0 评论
Protues中自己封装的芯片元件无Program File、Clock Frequency选项怎么解决,求求大神了!
9426 浏览 1 评论
基于51单片机的车辆倒车雷达报警系统,HC-SR04超声波测距,全套资料
1276 浏览 0 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 15:28 , Processed in 0.834990 second(s), Total 91, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号