程序和電路都沒問題就是不顯示,暈了[Emot]1[/Emot]程序: DCLK BIT P0.0 DIN BIT P0.1 LOAD BIT P0.2 ORG 0000H LJMP MAIN ORG 0030H MAIN: CLR DIN SETB DCLK SETB DIN SETB LOAD MOV B,#04H MOV A,#01H LCALL WRITE MOV B,#05H MOV A,#80H LCALL WRITE MOV B,#08H:顯示0~7 MOV A,#00H LCALL WRITE ....... LJMP MAIN WRITE: CLR LOAD MOV R7,#08H WRITE8:RRC A CLR DCLK MOV DIN,C SETB DCLK DJNZ R7,WRITE8 MOV A,B MOV R7,#04H WRITE4:RRC A CLR DCLK MOV DIN,C SETB DCLK DJNZ R7,WRITE SETB LOAD RET NOP NOP END 數(shù)碼管一點反應(yīng)也沒有,請各位高手幫忙。用單片機89S52 ,ISP在線下載器
郵箱:472622057@QQ.COM