ÖÇÄܹâµç¶¨Ê±Æ÷¿Î³ÌÉè¼Æ ÏÂÔر¾ÎÄ

NOP

ENDINT1: POP ACC POP PSW RETI

;-------------------------------------------------------------- ;¶¨Ê±Æ÷1ÖжÏÏìÓ¦×Ó³ÌÐò

ORG 0250H T1: PUSH PSW PUSH ACC

MOV TH1,#0FFH

MOV TL1,#0 LCALL DELAY20MS JB P3.5,ENDT1

INC 42H ; WAITT1: JNB P3.5,WAITT1 LCALL DELAY20MS

JNB P3.5,WA SETB EA LCALL TIP NOP NOP NOP NOP

POP ACC POP PSW ENDT1: RETI

;-------------------------------------------------------------- ;ÑÓʱ2ºÁÃë×Ó³ÌÐò

ORG 02A0H DELAY2MS: MOV R2,#06H L1: DJNZ R2,L1 MOV R1,#10 L2: MOV R0,#97 L3: DJNZ R0,L3 DJNZ R1,L2 RET

;-------------------------------------------------------------- ;ÑÓʱ20ºÁÃë×Ó³ÌÐò

ORG 02C0H DELAY20MS: MOV R6,#10

L5: LCALL DELAY2MS DJNZ R6,L5 RET

;--------------------------------------------------------------

;ÏÈËÍÈëÊÇ ;µÈ´ý²Ù×÷

;Èë¿Ú£º±»³ËÒò×ӵĸßλ·ÅÈë4Bµ¥ÔªÖУ¬±»³ËÒò×ӵĵÍλ·ÅÈë4Aµ¥Ôª ;³ö¿Ú£º½á¹û·ÅÔÚR3,R4ÖÐ

;Õ¼ÓÃ×ÊÔ´£ºR0,R1,R2,R3,R4,A,4AH,4BH,4CH

ORG 0320H ;Òò×Ó±¶ MULTI: MOV R0,4AH ;Òò×ÓµÍλÈë MOV R1,4BH ;Òò×Ó¸ßλÈë MOV R2,4CH ;³ËÊý MOV R3,#00H MOV R4,#00H CHENG2: CLR C

MOV A,R2 RRC A MOV R2,A JNC LOOP2 MOV A,R3 ADD A,R0 MOV R3,A MOV A,R4 ADDC A,R1 MOV R4,A LOOP2: MOV A,R0 RLC A MOV R0,A MOV A,R1 RLC A MOV R1,A MOV A,R2 XRL A,#00H JNZ CHENG2 RET

;-------------------------------------------------------------- ORG 0360H

music: setb p1.6 mov r7, #0ffh loop: lcall daly20ms djnz r7, loop

clr p1.6 ret

ORG 0450H

TIP: MOV R1,#00H CLR P1.7 TIP1: CLR P1.6

LCALL DELAY1 SETB P1.6

LCALL DELAY1 DJNZ R1,TIP1 SETB P1.7 RET

ORG 04A0H DELAY1: MOV R7,#40H DDA: NOP NOP NOP

DJNZ R7,DDA RET END

5 ×ܽá

Õâ´ÎµÄ¿Î³ÌÉè¼ÆµÄ¿ÎÌâÊÇ¡°ÖÇÄܹâµç¶¨Ê±Æ÷¡±£¬ÊÇÎÒÃǵÚÒ»´ÎÉè¼Æµç·ÒÔ¼°ÊµÏÖÏà¹ØÓ²¼þ¹¦Äܵı¦¹óµÄ¾­Àú¡£¾­¹ýÕâ´Î±ÏÒµÉè¼Æ£¬ÎÒ½Ó´¥µ½Á˸ü¶àÔªÆ÷¼þÒÔ¼°Ïà¹ØµÄʹÓõ÷ÊÔ¾­Ñ飬·¢ÏÖÁË×Ô¼ººÜ¶à²»×ãÖ®´¦£¬Ìå»áµ½ÁËËùѧÀíÂÛ֪ʶµÄÖØÒªÐÔ£¬ÖªÊ¶ÕÆÎÕµÃÔ½¶à£¬Éè¼ÆµÃ¾Í¸üÈ«Ãæ¡¢¸ü˳Àû¡¢¸üºÃ¡£ÎÒÃÇ×éÒ»¹²Èý¸öÈË¡£¾¡¹ÜÕâ¸ö¿ÎÌâºÍ¿Î±¾ÁªÏµµÃºÜ½ôÃÜ£¬½ÏÆäËü¿ÎÌâ¼òµ¥£¬µ«ÎÒÃÇ»¹ÊÇÓöµ½ÁËһЩÎÊÌâ¡£

ÎÒÃÇÓöµ½µÄµÚÒ»¸öÎÊÌâÊǵç·µÄÉè¼Æ¡£¾¡¹Ü¿Î±¾ÉÏÒÑÌṩ¸øÁËÎÒÃǷdz£Ï꾡µÄÐÅÏ¢£¬µ«ÔÚÓ¦ÓÃʱÎÒÃÇ»¹ÊÇ´ëÊÖ²»¼°£¬±Ï¾¹ÎÒÃÇÊǵÚÒ»´Î½Ó´¥Êµ¼Ê¿ÎÌ⣬ÎÒÃDz»ÖªµÀ´ÓºÎ×ÅÊÖ£¬²»¹ý£¬Í¨¹ýÎÒÃÇС×éµÄÌÖÂÛÓëÑо¿£¬ÒÔ¼°ÏòÀÏʦµÄÇë½Ì£¬×îÖÕ»¹ÊÇ°´Ê±µÄÍê³ÉÁËÉè¼Æ¡£

µÚ¶þ¸öÎÊÌâÊǵ緵ĺ¸½Ó¡£ÓÉÓÚÉÏѧÆÚ¾­Àú¹ýÁ½´ÎΪÆÚÒ»Öܵĵ繤ʵϰ£¬Í¬Ñ§ÃÇÏÖÔÚÄÜÊìÁ·µØʹÓõçÀÓÌú¡£µ«ÒªÏë°ÑÕû¸öµç·º¸µÃ׼ȷ¶øÓÖ²»Ê§ÃÀ̬£¬Ò²µÃ»¨µã¹¦·ò£¬´ó¸ÅÒ»¸öÏÂÎç¾ÍÍê³ÉÁ˵緵ĺ¸½Ó¡£Æä¼ä£¬ÎÒÒ²ÈÏʶµ½£¬¸ù¾ÝÇé¿öµÄ²»Í¬»¹µÃÊʵ±¸Ä±äÔªÆ÷¼þµÄ°Ú·ÅλÖã¬Ò»²»Ð¡ÐÄ¿ÉÄܾͻáÓ°Ïìµç·¹¦ÄܵÄʵÏÖ¡£

×ÜÖ®Õâ´Î¿Î³ÌÉè¼ÆÈÃÎÒ°ÑÀíÂÛÉè¼ÆºÍ¹¤³Ìʵ¼ùÏà½áºÏ¡¢¹®¹Ì»ù´¡ÖªÊ¶ÓëÅàÑø´´ÐÂÒâʶÏà½áºÏ¡¢¸öÈË×÷Óúͼ¯ÌåЭ×÷Ïà½áºÏµÈ·½ÃæÈ«ÃæµÄÅàÑøѧÉúµÄÈ«ÃæËØÖÊ¡£ÕâЩÔÚÎÒ½ñºóµÄѧϰºÍ¹¤×÷µ±Öж¼»áÓкܴóµÄ°ïÖú¡£

×îºó£¬ÎÒÒª¸ÐлÎÒµÄÖ¸µ¼ÀÏʦ£¬ÊÇËû¸øÁËÎÒÐí¶àµÄ°ïÖú¡£

²Î¿¼ÎÄÏ×£º

1 ¹¢³¤Çå µ¥Æ¬»úÓ¦Óü¼Êõ »¯Ñ§¹¤Òµ³ö°æÉç 2002Äê8ÔÂ

2 Àî¹ãµÜ£¬ÖìÔÂÐ㣬Àä×æÆî.µ¥Æ¬»ú»ù´¡.µÚ3°æ.±±¾©£º±±¾©º½¿Õº½Ìì´óѧ³ö°æÉç,200 7

3 ÁõÈðÐÂµÈ µ¥Æ¬»úÔ­Àí¼°Ó¦ÓÃ½Ì³Ì »úе¹¤Òµ³ö°æÉ磬 2003.7 4 ÕÅ´º¹â.΢ÐͼÆËã»ú¿ØÖƼ¼Êõ.±±¾©£º»¯Ñ§¹¤Òµ³ö°æÉç,2002 5 Îâ¹ú¾­µÈ µ¥Æ¬»úÓ¦Óü¼Êõ ÖйúµçÁ¦³ö°æÉ磬 2004.1

6 ÌÆÈðÍ¥.΢ÐͼÆËã»úÔ­ÀíÓë½Ó¿Ú¼¼Êõ.±±¾©£º¸ßµÈ½ÌÓý³ö°æÉç,1998 7 ÍõÈðÀ¼.8λ´®ÐнӿÚÊýÂëÏÔʾÇý¶¯Æ÷MAX7219¼°ÆäÓ¦ÓÃ. ±±¾©£ºÇ廪´óѧ³ö°æÉç,2001

8 ¥ȻÃçµÈ 51 ϵÁе¥Æ¬»úÉè¼ÆʵÀý ±±¾©º½¿Õº½Ìì³ö°æÉ磬 2003.3 9 ºîæ±òµÈ£¬ÁèÑôµ¥Æ¬»úÔ­Àí¼°Æä±ÏÒµÉè¼Æ¾«Ñ¡ 2006Ä꣬¿Æѧ³ö°æÉç 10 Íõ½¨»ª.MAX7219Ô­Àí¼°ÆäÓ¦ÓÃ. ±±¾©£º»úе¹¤Òµ³ö°æÉç,2003 11 Àî¹óɽ.΢ÐͼÆËã»ú²â¿Ø¼¼Êõ.±±¾©£º»úе¹¤Òµ³ö°æÉç,2002

12 ÀîÈ«Àû£¬³ÙÈÙÇ¿±àÖø µ¥Æ¬»úÔ­Àí¼°½Ó¿Ú¼¼Êõ ¸ßµÈ½ÌÓý³ö°æÉ磬2004.1 13 ÌÆ¿¡µÔµÈ µ¥Æ¬»úÔ­ÀíÓëÓ¦Óà ұ½ð¹¤Òµ³ö°æÉ磬 2003.9 14 »ÆÈÊÐÀ µ¥Æ¬»úÔ­Àí¼°Ó¦Óü¼Êõ Ç廪´óѧ³ö°æÉç 2005Äê3ÔÂ