<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>

新聞中心

EEPW首頁(yè) > 嵌入式系統 > 設計應用 > 51單片機驅動(dòng)8*8LED點(diǎn)陣屏顯示沙漏形狀匯編程序

51單片機驅動(dòng)8*8LED點(diǎn)陣屏顯示沙漏形狀匯編程序

作者: 時(shí)間:2016-11-30 來(lái)源:網(wǎng)絡(luò ) 收藏
ORG 0000H
ST: MOV DPTR,#TAB  ;顯示數據表首址LP5:CLR P2.2  ;74HC595輸出清零SETB P2.2   CLR P2.4        ;選取第一行000CLR P2.5CLR P2.6MOV  A,#00H      ;清累加器MOVC A,@A+DPTR   ;取顯示數據LCALL DIS         ;送列數據子程?LCALL DELAY     ; 延時(shí)SETB P2.4         ;選取第二行001  CLR P2.5CLR P2.6INC DPTRMOV A,#00HMOVC A,@A+DPTRLCALL DISLCALL DELAYCLR P2.4          ;選取第三行010SETB P2.5CLR P2.6INC DPTRMOV A,#00HMOVC A,@A+DPTRLCALL DISLCALL DELAYSETB P2.4        ;選取第四行011SETB P2.5CLR  P2.6INC DPTRMOV A,#00HMOVC A,@A+DPTRLCALL DISLCALL DELAYCLR P2.4            ;選取第五行100CLR P2.5SETB P2.6INC DPTRMOV A,#00HMOVC A,@A+DPTRLCALL DISLCALL DELAYSETB P2.4          ;選取第六行101CLR P2.5SETB P2.6INC DPTRMOV A,#00HMOVC A,@A+DPTRLCALL DISLCALL DELAYCLR P2.4          ;選取第七行110SETB P2.5SETB P2.6INC DPTRMOV A,#00HMOVC A,@A+DPTRLCALL DISLCALL DELAYSETB P2.4        ;選取第八行111SETB P2.5SETB P2.6INC  DPTRMOV  A,#00HMOVC A,@A+DPTRLCALL DISLCALL DELAY      LJMP ST          ;一楨畫(huà)面顯示完成返回繼續顯示下一禎;****************************************************************;送列數據子程序;****************************************************************DIS:CLR CLP1:MOV R5,#08HLP: RRC AMOV P2.0,CCLR P2.1SETB P2.1DJNZ R5, LPCLR P2.3SETB P2.3NOPNOPRET;******************************************************************;延時(shí)子程序;******************************************************************DELAY: MOV R5,#04HH0:    MOV R6,#0ffHH1 :   MOV R7,#0ffHH2:    DJNZ R7,H2DJNZ R6,H1DJNZ R5,H0RET;*****************************************************************;顯示數據表;*****************************************************************TAB:  DB  0ffH,7eH,3cH,18H,18H,3cH,7eH,0FFHTAB1:DB  10,0feH,92H,92H,0feH,92H,10H,10HEND 


評論


技術(shù)專(zhuān)區

關(guān)閉
国产精品自在自线亚洲|国产精品无圣光一区二区|国产日产欧洲无码视频|久久久一本精品99久久K精品66|欧美人与动牲交片免费播放
<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>