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

正文內(nèi)容

畢業(yè)設(shè)計(jì)-基于at89c51單片機(jī)的道路交通燈控制系統(tǒng)設(shè)計(jì)(存儲(chǔ)版)

  

【正文】 析 狀態(tài)燈顯示測(cè)試 當(dāng)電路連接完畢后,將寫(xiě)好的測(cè)試程序刷寫(xiě)到芯片內(nèi), 開(kāi)啟電源開(kāi)關(guān) K,以及按下 K1 和 K2 分別給端口送高電平和低電平,通電即可檢測(cè)。 //恢復(fù) sbit KEY3 = P2^6。//共陽(yáng)數(shù)碼管位選 //====================變量定義 =============================== uchar t50ms = 0。 //定時(shí)器初始化 sec=COUNT_DOWN。P1=LED[4]。(interim_flag == 0)amp。 Delay1Ms(1)。 } //==========狀態(tài) S2======== if( (aspect_flag == 0)amp。 P1=LED[1]。 P2=LED7Code[sec%10]。 P2 = 0XFF。 P1=LED[3]。 P2=LED7Code[sec/10]。 Delay1Ms(1)。 EA = 1。 t50ms = 0。 //取消 else key_flag = 1。 Delay1Ms(5)。 }if (KEY4 == 0) { Delay1Ms(10)。 for (。_nop_()。s antiracism taskforce, is in London for the Football Association39。 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. 一字開(kāi)頭的年齡已經(jīng)到了尾聲。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。那些曾經(jīng)所謂的非做不可,只是青蔥年華里自己給自己注射的一支強(qiáng)心劑,或者說(shuō),是自以為是的精神寄托罷了。ll be traveling fast, so despite the distance, it will not be like diving 成都理工大學(xué)畢業(yè)論文 — 交通燈 34 into the deep end of a pool. It will be like he is diving into the shallow end. Skydiver preps for the big jump When he jumps, he is expected to reach the speed of sound 690 mph (1,110 kph) in less than 40 seconds. Like hitting the top of the water, he will begin to slow as he approaches the more dense air closer to Earth. But this will not be enough to stop him pletely. If he goes too fast or spins out of control, he has a stabilization parachute that can be deployed to slow him down. His team hopes it39。突然想到那件藍(lán)格子襯衫;那些被折成各種各樣形狀的信紙;那段從街角深巷伊始的友誼;還有那場(chǎng)還沒(méi)有開(kāi)始就宣告了終結(jié)的邂逅計(jì)劃 …… 那些年那些天的非做不可,終于和青春一樣,都將在我們的人生中謝幕。也曾經(jīng)好像已經(jīng)下定了決心去做某 件事,但更多的時(shí)候是最后又打起了退堂鼓。t really grow up, it seems is not so important。s actions. CSKA said they were surprised and disappointed by Toure39。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。_nop_()。 } } /*========================================================================= 名稱(chēng) : void Delay1Ms(uchar t)。 Delay1Ms(5)。 //取消 else 成都理工大學(xué)畢業(yè)論文 — 交通燈 29 key_flag = 2。//黃燈閃爍關(guān)閉 } } } /****************************************************************** 名稱(chēng): void key_scan() 功能:按鍵掃描 參數(shù): 調(diào)用: 返回: ******************************************************************/ void key_scan() { if (KEY1 == 0) { Delay1Ms(10)。 //清零中斷標(biāo)志位 //ET2 = 0。 RCAP2H =( 6553650000) /256。 P1=LED[2]。 else SN_Y_OFF。 //南北方向綠燈,少 5秒 Delay1Ms(1)。 P2=LED7Code[sec/10]。 P2 = 0XFF。 //東西方向黃燈 成都理工大學(xué)畢業(yè)論文 — 交通燈 26 Delay1Ms(1)。 P2=LED7Code[sec%10]。 P1=LED[1]。break。break。 //0:東西 黃燈, 1:南北黃燈 ////////////////////////////主函數(shù) ////////////////////////// Void main () { t=5。 //鍵盤(pán)掃描 //======================數(shù)碼管選擇定義 ======================= const uchar LED7Code[]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90}。在這段時(shí)間中, 李 老師們給了我很大的幫助 ,還有很多班上的同學(xué)及網(wǎng)上好友,你們對(duì)我的幫助和指導(dǎo)我非常感謝 ! 成都理工大學(xué)畢業(yè)論文 — 交通燈 23 附錄: 系統(tǒng)總體電路圖 : 交通燈總 原理 圖 成都理工大學(xué)畢業(yè)論文 — 交通燈 24 總程序: //****************************************************** //作品名稱(chēng) : 十字路口簡(jiǎn)易交通燈 //設(shè)計(jì)者 : 劉偉 //功能介紹: // KEY1 按下,設(shè)置時(shí)間 // KEY2 按下,恢復(fù) // KEY3 按下,東西禁止通行 // KEY4 按下,南北禁止通行 //設(shè)計(jì)時(shí)間 : //****************************************************** include include //=========================================================== define uchar unsigned char define uint unsigned int //=====================指示燈狀態(tài)定義 ======================== define ALL_OFF (P0 = 0xdb)//全部禁行 define EW_ON (P0 = 0xeb) //東西綠燈,南北紅燈 define SN_ON (P0 = 0xdd) //南北綠燈,東西紅燈 define EW_Y_ON (P0 = 0xF3) //南北紅燈,東西黃燈亮 define EW_Y_OFF (P0 = 0xFB) //南北紅燈,東西黃燈滅 define SN_Y_ON (P0 = 0xDE) //東西紅燈,南北黃燈亮 define SN_Y_OFF (P0 = 0xDF) //東西紅燈,南北黃燈滅 define COUNT_DOWN 70 //定時(shí)時(shí)間 define INTERIM t //黃燈過(guò)渡時(shí)間 //====================按鍵定義 =============================== sbit KEY1 = P2^4。 Delay1Ms(5)。 //取消 else key_flag = 3。 } if (KEY2 == 0) { Delay1Ms(10)。 圖 54 矩陣鍵盤(pán)的原理圖 按鍵在編寫(xiě)程序時(shí),應(yīng)注意問(wèn)題,如消顫, 一般有物理消顫和軟件消顫,我們這使用 軟件消顫。主程序中放了一個(gè)按鍵的判斷指令,當(dāng)有按鍵按下的時(shí)候,程序就自動(dòng)的跳轉(zhuǎn)到按鍵子程序處理。 P1=LED[2]。 else SN_Y_OFF。 //南北方向綠燈,少 5秒 Delay1Ms(1)。 P2=LED7Code[sec/10]。 P2 = 0XFF。 //東西方向黃燈 Delay1Ms(1)。 P2=LED7Code[sec%10]。 P1=LED[1]。break。break。 圖 51主程序流程圖 部分主 程序 如下 : 程序初始化 是否是狀態(tài)S1 啟動(dòng)狀態(tài) S1 是否是狀態(tài)S2 啟動(dòng)狀態(tài) S2 是否是狀態(tài)S3 啟動(dòng)狀態(tài) S3 是否是狀態(tài)S4 啟動(dòng)狀態(tài) S4 按鍵是否按下 按鍵處理 返回 開(kāi)始 成都理工大學(xué)畢業(yè)論文 — 交通燈 15 ////////////////////////////主函數(shù) ////////////////////////// Void main () { t=5。違規(guī)車(chē)輛檢測(cè)電路除了使用光敏二極管,還使用了三極管,型號(hào)為 9031。 E10501的外形圖和等效電路圖如圖 [421]所示。 成都理工大學(xué)畢業(yè)論文 — 交通燈 10 第四章 電路圖及設(shè)計(jì)文件 燈控制電路設(shè)計(jì) 紅綠燈的顯示 采用普通的發(fā)光二極管,每個(gè)方向上
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1