freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

畢業(yè)設(shè)計-基于單片機的八路智能搶答器系統(tǒng)設(shè)計-閱讀頁

2025-06-25 02:31本頁面
  

【正文】 。初設(shè)搶答時間為 30s MOV R2,60 。設(shè)置未定時器 /模式 1 MOV TH0,0F0H MOV TL0,0FFH 。 50ms 為一次溢出中斷 SETB EA SETB ET0 SETB ET1 SETB EX0 SETB EX1 。一開始就運行定時器 ,以開始顯示 FFF. 如果想重新計數(shù) ,重置 TH1/TL1 就可以了 查詢程序 START: MOV R5,0BH MOV R4,0BH MOV R3,0BH ACALL DISPLAY 。去抖動 ,如果 開始鍵 按下就向下執(zhí)行 ,否者跳到非法搶答查詢 ACALL BARK 。送 R1R6,因為 R1 中保存了搶答時間 SETB OK 。搶答只顯示計時 ,滅號數(shù) AJMP COUNT 。按鍵發(fā)聲 MOV R3,01H AJMP ERROR FALSE2: ACALL BARK MOV R3,02H AJMP ERROR FALSE3: ACALL BARK MOV R3,03H AJMP ERROR 程序分析 2 31 FALSE4: ACALL BARK MOV R3,04H AJMP ERROR FALSE5: ACALL BARK MOV R3,05H AJMP ERROR FALSE6: ACALL BARK MOV R3,06H AJMP ERROR FALSE7: ACALL BARK MOV R3,07H AJMP ERROR FALSE8: ACALL BARK MOV R3,08H AJMP ERROR INT0(搶答時間 R1 調(diào)整程序 ) INT0SUB : MOV A,R1 MOV B,0AH DIV A,B MOV R5,A MOV R4,B MOV R3,0AH ACALL DISPLAY 。 為 +1s 鍵 ,如按下跳到 INCO JNB ,DEC0 。 為確定鍵 ,如按下跳到 BACKO AJMP INT0SUB INC0: MOV A,R1 CJNE A,63H,ADD0 。 MOV R1,00H ACALL DELAY1 AJMP INT0SUB ADD0: INC R1 ACALL DELAY1 AJMP INT0SUB DEC0: MOV A,R1 JZ SETR1 。=====INT1(回答時間 R2 調(diào)整程序 )===== INT1SUB:MOV A,R2 MOV B,0AH DIV AB MOV R5,A MOV R4,B MOV R3,0AH ACALL DISPLAY JNB ,INC1 JNB ,DEC1 JNB ,BACK1 AJMP INT1SUB INC1: MOV A,R2 CJNE A,63H,ADD1 MOV R2,00H ACALL DELAY1 AJMP INT1SUB ADD1: INC R2 ACALL DELAY1 AJMP INT1SUB DEC1: MOV A,R2 JZ SETR2 DEC R2 ACALL DELAY1 AJMP INT1SUB SETR2: MOV R2,63H ACALL DELAY1 AJMP INT1SUB BACK1: RETI 。重置定時器中斷次數(shù) MOV TH1,3CH MOV TL1,0B0H。R6保存了倒計時的時間 ,之前先將搶答時間或回答時間給 R6 MOV B,0AH DIV AB。十位存于 (30H) MOV 31H,B。取十位 MOV R4,31H。大于 5s 跳到 LARGER,小于等于 5s 會提醒 MOV A,R0 CJNE A,0AH,FULL。下面是 1s 的情況 ,響并顯示號數(shù)并清 R0,重新計 SETB RING MOV A,R6 JZ QUIT。一秒標(biāo)志減 1 AJMP CHECK LARGER: MOV A,R0 CJNE A,14H,CHECK。計時一秒 R6 自動減 1 MOV R0,00H CHECK: JNB ,QUIT。如果是搶答倒計時 ,如 是則查詢搶答 ,否者跳過查詢繼續(xù)倒數(shù) (這里起到鎖搶答作用 ) AJMP RECOUNT ACCOUT:JNB ,TRUE1 JNB ,TRUE2 JNB ,TRUE3 JNB ,TRUE4 JNB ,TRUE5 JNB ,TRUE6 JNB ,TZ3 JNB ,TZ4 AJMP RECOUNT TZ3:JMP TRUE7 TZ4:JMP TRUE8 QUIT: CLR OK。=====正常搶答處理程序 ===== TRUE1: ACALL BARK。搶答時間 R2 送 R6 MOV R3,01H CLR OK。 MOV A,R2 MOV R6,A MOV R3,02H CLR OK AJMP COUNT TRUE3:ACALL BARK。 MOV A,R2 MOV R6,A MOV R3,04H CLR OK AJMP COUNT TRUE5: ACALL BARK。 MOV A,R2 MOV R6,A MOV R3,06H CLR OK AJMP COUNT TRUE7: ACALL BARK。 MOV A,R2 MOV R6,A MOV R3,08H CLR OK AJMP COUNT 。犯規(guī)號數(shù)暫存與 (34H) HERE: MOV A,R0 CJNE A,0AH,FLASH。三燈全滅 AJMP CHECK1 FLASH: CJNE A,14H,CHECK1。取回號數(shù) MOV R5,0BH MOV R4,0BH。=====顯示程序 ===== DISPLAY:MOV DPTR,DAT1。滅 ,1,2,3,4,5,6,7,8,9,滅 ,F DAT2:DB 3fh,06h,5bh,4fh,66h,6dh,7dh,07h,7fh,6fh,00H,71H 。====加減時間延時 (起到不會按下就加 N 個數(shù) )====== DELAY1: MOV 35H,08H LOOP0: ACALL DISPLAY DJNZ 35H,LOOP0 RET 。=====發(fā)聲程序 ===== BARK: SETB RING ACALL DELAY1 ACALL DELAY1 CLR RING。=====TO 溢出中斷 (響鈴程序 )===== T0INT: MOV TH0,0ECH MOV TL0,0FFH JNB RING,OUT。RING標(biāo)志位為 1 時候 率的聲音 OUT: RETI 。 計分接收的單片機部分利用匯編語言編寫。 本設(shè)計中,利用常規(guī)的單片機掃描識別的方法。 由于采用匯編語言設(shè)計電路,所以本設(shè)計在編程成功后,硬件電路基本上不需要調(diào)試就可正常使用。我想這對于自己以后的學(xué)習(xí)和工作都會有很大的幫助的。對于單片機設(shè)計,其硬件電路是比較簡單的,主要是解 決程序設(shè)計中的問題。它才是一個設(shè)計的靈魂所在。很多子程序是可以借鑒書本上的,但怎樣銜接各個子程序才是關(guān)鍵的問題所在,這需要對單片機的結(jié)構(gòu)很熟悉。 但是,通過這次設(shè)計我也發(fā)現(xiàn)自己的很多不足之處。 而且,通過這次設(shè)計,我懂得了學(xué)習(xí)的重要性,學(xué)會了堅持和努力,我將會在以后的學(xué)習(xí)中繼續(xù)學(xué)習(xí)。t agree with the disciplinary action your employer has taken against you ? your employer dismisses you and you think that you have been dismissed unfairly. For more information about dismissal and unfair dismissal, see Dismissal. You can make a claim to an employment tribunal, even if you haven39。t charge you more than 35% of your pensation if you win the case. If you are thinking about signing up for a damagesbased agreement, you should make sure you39。s antiracism taskforce, is in London for the Football Association39。s Premier League match at Chelsea on Sunday. I am going to be at the match tomorrow and I have asked to meet Yaya Toure, he told BBC Sport. For me it39。s 21 win. Michel Platini, president of European football39。s actions. CSKA said they were surprised and disappointed by Toure39。 May be back in the past, to oneself the paranoid weird belief disillusionment, these days, my mind has been very messy, in my mind constantly. Always feel oneself should go to do something, or write something. Twenty years of life trajectory deeply shallow, suddenly feel something, do it. 一字開頭的年齡已經(jīng)到了尾聲。總覺得自己自己似乎應(yīng)該去做點什么,或者 寫點什么。 The end of our life, and can meet many things really do? 而窮盡我們的一生,又能遇到多少事情是真正地非做不可? During my childhood, think lucky money and new clothes are necessary for New Year, but as the advance of the age, will be more and more found that those things are optional。t really grow up, it seems is not so important。t want to give vent to out your inner voice can be in the high school children of the feelings in a period, but was eventually infarction when graduation party in the throat, later again stood on the pitch he has sweat profusely, looked at his thrown a basketball hoops, suddenly found himself has already can39
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1