【正文】
:高等教育出版社 2022 [15]陳梓城 電子技術(shù)實(shí)訓(xùn) [M].北京:機(jī)械工業(yè)出版社 2022 [16]吳黎明 單片機(jī)原理及應(yīng)用技術(shù) [M].北京:科學(xué)出版社 2022 [17]李學(xué)海 標(biāo)準(zhǔn) 80C51 單片機(jī)基礎(chǔ)教程 [M].北京: 北京航空航天大學(xué)出版社 2022 [18]劉樂善 微型計(jì)算機(jī)接口技術(shù)及應(yīng)用 [M].北京: 華中科技大學(xué)出版社 2022 [19] 陳炳權(quán) 曾慶六 EDA技術(shù)實(shí)用教程 [M].北京: 湘潭大學(xué)出版社 2022 [20] 先鋒工作室 . 單片機(jī)程序?qū)嵗?[M].北京:清華大學(xué)出版社 ,2022. [21] 李伯成 .基于 MCS51單片機(jī)的嵌入式系統(tǒng)的設(shè)計(jì) [M].北京:電子工業(yè)出版社, 遼寧工程職業(yè)學(xué)院畢業(yè)論文(設(shè)計(jì)) 20 附錄 附錄 A H_RED BIT ;定義 IO 端口 H_GREEN BIT H_YELLOW BIT L_RED BIT L_GREEN BIT L_YELLOW BIT ;主程序,選擇設(shè)置紅綠燈時(shí)間模式或自動(dòng)調(diào)整模式 ORG 0000H LJMP MAIN ORG 0003H ;中斷入口 LJMP INT0 ORG 0030H MAIN: MOV R3, 20 ;用于嵌套 50ms 軟件方法計(jì) 時(shí) 1s MOV R0, 20 ;預(yù)設(shè)值紅綠燈時(shí)間 MOV R1, 20 CLR EX0 K1: MOV C, ;等待檢測(cè)何種模式按鍵按下 ANL C, JB C, K1 JNB , F ; F 鍵按下為自動(dòng)模式,進(jìn)入掃描 K2: JNB , S ; S 鍵按下并等待計(jì)數(shù)次數(shù) SJMP K2 F: LCALL DELAY MOV R0, 30 MOV R1, 30 SETB 00H SETB EA SETB EX1 SJMP START S: LCALL DELAY CJNZ R0, 40, V1 MOV R0, 20 V1: INC R0 JNB , $ 遼寧工程職業(yè)學(xué)院畢業(yè)論文(設(shè)計(jì)) 21 JNB , J ; J 鍵按下并等待計(jì)數(shù)次數(shù) SJMP K2 J: LCALL DELAY CJNZ R1, 40, V2 MOV R1, 20 V2: INC R1 JNB , $ JNB , START ;設(shè)置完畢為設(shè)定時(shí)間模式,進(jìn)入掃描 JNB , J MOV P2, 0DDH ;預(yù)設(shè)信號(hào)燈狀態(tài),時(shí)間和車向 MOV R4, R0 SETB 01H SETB EX0 ;程序開始,進(jìn)行每 50ms 掃描 START: MOV TMOD, 01H MOV TH0, 3CH MOV TL0, 0B0H CLR TF0 SETB TR0 ;開始 50ms 計(jì)時(shí) DJNZ R3, Y ; 1s 是否計(jì)時(shí)完畢 MOV R3, 20 DJNZ R4, Y ;本狀態(tài)是否結(jié)束,并進(jìn)行下一狀態(tài)設(shè)置 MOV A, P2 CJNZ A, 0DDH,D1 MOV P2, BDH MOV R4, 5 D1: CJNZ A, BDH,D2 MOV P2, EDH MOV R4, R1 CLR 01H D2: CJNZ A, EDH,D3 MOV P2, E7H MOV R4, 5 JNB 00H, D3 遼寧工程職業(yè)學(xué)院畢業(yè)論文(設(shè)計(jì)) 22 LCALL DATA D3: CJNZ A, E7H,Y MOV R2, DDH MOV R4, R0 SETB 01H Y: MOV A, R4 ; LED 倒計(jì)時(shí)顯示 MOV B, 10 DIV A, B MOB DPTR, LEDMAP MOVC A, A+DPTR MOV P1, A MOV A, B MOVC A, A+DPTR MOV P0, A LEDMAP: DB C0H,F9H,A4H,B0H,99H,92H,82H,F8H,80H,90H JNB 00H, WAIT ;判斷是否要計(jì)數(shù)車流量 JB , WAIT ;判斷是否有車經(jīng)過 WAIT: JNB TF0, WAIT ; 50ms 一次掃描完畢 SJMP START INT1: JNB 01H, U ;判斷車向 INC R5 U: INC R6 RETI INT0: SETB ;中斷服務(wù)子程序,闖紅燈或緊停按鍵 JB , $ LCALL DELAY CLR RETI DATA: MOV A, R6 ;車流量數(shù)據(jù)處理及紅綠燈時(shí)間調(diào)整 MOV B, R0 MUL A, B MOV R6, A MOV A , R5 MOV B, R1 MUL A, B 遼寧工程職業(yè)學(xué)院畢業(yè)論文(設(shè)計(jì)) 23 MOV B, 10 MUL A, B MOV B, R6 DIV A, B CJNZ A, 7 M1 M2: MOV R2, 20 MOV R1, 40 SJMP OUT M1: JB C, M2 CJNZ A, 15 N1 N2: MOV R0, 30 MOV R1, 30 SJMP OUT N1: JB C, N2 MOV R0, 40 MOV R1, 20 OUT: CLR R5 CLR R6 RET DELAY: MOV R2, 14H ;延時(shí)程序,用于按鍵消抖動(dòng) A1: MOV R7, 0FFH DJNZ R2, $ DJNZ R7, A1 RET END 附錄 B 程序中部分端口說明: P2 狀態(tài)燈 P0 LED 個(gè)位 P1 LED 十位 F 鍵 自動(dòng)調(diào)整模式 / 時(shí)間設(shè)置模式確認(rèn) S 鍵 設(shè)置南北向通行時(shí)間 J 鍵 設(shè)置東西向通行時(shí)間 / 緊停 車流量檢測(cè) 紅外對(duì)管 蜂鳴器 遼寧工程職業(yè)學(xué)院畢業(yè)論文(設(shè)計(jì)) 24 R3 存 20 用于乘以 50ms 計(jì)時(shí) 1s R4 暫存狀態(tài)燈持續(xù)時(shí)間 R0 存南北向通行時(shí)間 R1 存東西向通行時(shí)間 R5 計(jì)南北向車流量 R6 計(jì)東西向車流量 R2,R7 用于軟件延時(shí) 00H 自控標(biāo)志位 01H 車向標(biāo)志位 遼寧工程職業(yè)學(xué)院畢業(yè)論文(設(shè)計(jì)) 25 致謝 這篇論文是 在我的指導(dǎo)老師 韓麗 老師的情切關(guān)懷和悉心指導(dǎo)下完成的, 衷心感謝我的指導(dǎo)老師 韓 老師。t appealed against the disciplinary action your employer has taken against you. However, if you win your case, the tribunal may reduce any pensation awarded to you as a result of your failure to appeal. Remember that in most cases you must make an application to an employment tribunal within three months of the date when the event you are plaining about happened. If your application is received after this time limit, the tribunal will not usually accept i. If you are worried about how the time limits apply to you, take advice from one of the anisations listed under Further help. Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation. Most people find making a claim to an employment tribunal challenging. If you are thinking about making a claim to an employment tribunal, you should get help straight away from one of the anisations listed under Further help. If you are being represented by a solicitor at the tribunal, they may ask you to sign an agreement where you pay their fee out of your pensation if you win the case. This is known as a damagesbased agreement. In England and Wales, your solicitor can39。s 150th anniversary celebrations and will attend City39。s governing body, has also ordered an immediate investigation into the referee39?;蛟S是愧疚于自己似乎把轉(zhuǎn)瞬即逝的很多個(gè)不同的日子過成了同一天的樣子;或許是追溯過去,對(duì)自己那些近乎偏執(zhí)的怪異信念的醒悟,這些天以來,思緒一直很凌亂,在腦海中不斷糾纏。 Junior high school, thought to have a crush on just means that the real growth, but over the past three years later, his writing of alumni in peace, suddenly found that isn39。t remember his appearance. 童年時(shí),覺得壓歲錢和新衣服是過年必備,但是隨著年齡的推進(jìn),會(huì)越來越發(fā)現(xiàn),那些東西根本就可有可無;初中時(shí),以為要有一場(chǎng)暗戀才意味著真正的成長(zhǎng),但三年過去后,自己心平氣和的寫同學(xué)錄的時(shí)候,突然就發(fā)現(xiàn)是不是真正的成長(zhǎng)了,好像并沒有那么重要了;然后到了高中,覺得非要吐露出自己的心聲才能為高中生涯里的懵懂情愫劃上一個(gè)句點(diǎn),但畢業(yè)晚會(huì)的時(shí)候最終還是被梗塞在了咽喉,后來再次站在他曾經(jīng)揮汗如雨的球場(chǎng),看著他投過籃球的球框 時(shí),突然間發(fā)現(xiàn)自己已經(jīng)想不起他的容顏。想要的,不想要的,界限明確,好像沒有什么可以撼動(dòng)自己。 At the moment, the sky is dark, the air is fresh factor after just rained. Suddenly thought of blue plaid shirt。t start planning... Those years, those days of do, finally, like youth, will end in our life. 此刻,天空是陰暗的,空氣里有著剛下過雨之后的清新因子。s not needed. Instead, he plans to deploy 遼寧工程職業(yè)學(xué)院畢業(yè)論文(設(shè)計(jì)) 28 his 270squarefoot (25squaremeter) main