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

正文內(nèi)容

畢業(yè)論文-基于單片機的彩燈循環(huán)控制系統(tǒng)設(shè)計-文庫吧資料

2025-06-14 17:48本頁面
  

【正文】 ne who was supposed to conquer the high ground of the North American market. Zhen Huan is, of course, the title character of The Legend of Zhen Huan, a 2021 television series that swept China off its feet and later took other Asian countries by storm. Two years ago, it was reported that HBO, a premium cable service headquartered in the United States, was going to air it in North America after some modification. Now, a condensed version that provides English subtitles but no dubbing has finally been made available on Netflix for online streaming. This version, highly anticipated as a milestone in China39。s Poly Theater. Their show, titled Ulan Muqir on the Grassland, depicted the history and development of the art troupe. Being from the region allowed me to embrace the culture of Inner Mongolia and being a member of the troupe showed me where I belonged, Nasun, the art troupe39。s performers of the troupe still tour the region39。t have a formal stage. The audience just sat on the grass. Usually, the performances became a big party with local people joining in. For him, the rewarding part about touring isn39。80s. We sat on the back of pickup trucks for hours. The sky was blue, and we couldn39。s Shaanxi province pass through a stop on the ancient Silk Road, Gansu39。 TL1=(6553650000)%256。 TR1=0。 delay(500)。 temp1=~temp1。 if(bb!=20) { P1=temp1。 TL1=(6553650000)%256。 PX1=1。 while(temp_int1==0) { temp_int1=key_int1。 PX0=1。 TL0=(6553650000)%256。 TR0=0。 delay(500)。 temp1=_cror_(temp1,1)。 if(aa!=20) { P1=temp1。 TL0=(6553650000)%256。 delay(100)。 P2=0xee。 if(temp_key3==0) { FUN3()。 //執(zhí)行彩燈方式 2 } } if(temp_key3==0) { delay(5)。 temp_key2=key2。 if(temp_key1==0) { FUN1()。 } } if(temp_key1==0) { delay(5)。 FUN2()。 temp_key4=key4。 temp_key4=key4。 temp_key2=key2。 } //主函數(shù) void main() { init()。 P1=0x0ff。 TR1=1。 } //彩燈方式 3 void FUN3() { temp1=0x0。 P1=0x0ff。 TR0=1。 } //彩燈方式 2 void FUN2() { temp1=0xAA。 } P1=0x0ff。 P1=0xFF。 temp2=_crol_(temp2,1)。 P2=0xFF。 temp1=_crol_(temp1,1)。 temp2=0X7F。//分別對 temp temp t、 aa、 bb、 key_int key key keykey temp_int temp_key temp_key temp_key temp_key beep、 flag賦值 } //彩燈方式 1 void FUN1() { t=8。 beep=1。 temp_key3=key3。 temp_key1=key1。 key4=1。 key2=1。 key_int1=1。 aa=0。 temp2=0x7F。 P2=0XFF。 TL1=(6553650000)%256。//允許 T1中斷 TR1=0。//將外部中斷 1 的中斷觸發(fā)方式控制位置 0,即設(shè)置外部中斷 1 為電平觸發(fā)方式 PX1=1。 EX1=1。//停止定時器 /計數(shù)器 0 TH0=(6553630000)/256。//外部中斷 0的中斷觸發(fā)方式控制位置 1,即設(shè)置外部中 0為邊沿觸發(fā)方式 ET0=1。//開放所有中斷 EX0=1。y)。x) for(y=120。//定義了無符號整型變量 x、 y for(x=z。 sbit beep=P0^0。 sbit key4=P0^1。 sbit key2=P0^3。 uint flag。 uint aa。 uchar temp_key4。 uchar temp_key2。 uchar temp2。 四川信息職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計說 明書 (論文 )第 16 頁 參考文獻 [1] 林志琦 .單片機原理接口及應(yīng)用 .北京:中國水利水電出版社, 2021 [2] 胡輝 .單片機原理與應(yīng)用 .北京:中國水利水電出版社, 2021 [3] 趙文博 .單片機語言 C51 程序設(shè)計 .北京:人民郵電出版社, 2021 [4] 譚浩強 .c 程序設(shè)計 .北京:清華大學(xué)出版社, 1991 四川信息職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計說 明書 (論文 )第 17 頁 附錄 1 彩燈電路總圖及元器件清單 元器件清單: AT89C51 一個、按鍵 7 個、發(fā)光二極管 32 只(不同色)、石英晶振器 1個、電容 2個、極性電容 1 個、電阻和導(dǎo)線若 四川信息職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計說 明書 (論文 )第 18 頁 附錄 2 彩燈整體程序 include //將 51 單片機的寄存器包含在頭文件中 include //將內(nèi)部函數(shù)包含在頭文件中 define uint unsigned int//宏定義,用 uint 代替 unsigned int(無符號整型變量) define uchar unsigned char//宏定義,用 uchar 代替 unsigned char(無符號字符變量) uchar temp_int1。所以,我在這次的畢業(yè)設(shè)計中,認(rèn)真對待每一個過程,希望自己的認(rèn)真,自己最后的畢業(yè)設(shè)計的成果能夠回報老師這么多年來的教導(dǎo),這么多年的奉獻。我深深知道,每一次的學(xué)習(xí)實踐環(huán)節(jié)都是那么的來之不易,都是通過老師的深思熟慮后,才給我們定下目標(biāo)。我覺得能夠在這次的畢業(yè)設(shè)計中學(xué)到很多的東西,以往不注意的細節(jié),在這一次中是必須讓自己去注意的。在整個畢業(yè)設(shè)計的過程中每一步都是自己親自做 過的,遇到的問題也非常多,在經(jīng)過遇到問題,思索問題到解決問題的過程中,收獲是最多的。我曾經(jīng)以為時間是一個不快不慢的東西,但現(xiàn)在我感到時間過的是多么的飛快,三年了,感覺就在一眨眼之間結(jié)束了我的大學(xué)生涯。 四川信息職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計說 明書 (論文 )第 14 頁 (通過中斷假設(shè)出故障) ( 7)當(dāng)按下復(fù)位開關(guān)時,彩燈系統(tǒng)恢復(fù)到最初狀態(tài)。 ( 5)當(dāng)按下暫停開關(guān)時,保持彩燈當(dāng) 前狀態(tài),松開開關(guān)時,繼續(xù)運行。 ( 3)當(dāng)按下開關(guān) KEY3 時,彩燈燈全部閃爍。 ( 1)當(dāng)按下開關(guān) KEY1 時,彩燈依次一個一個點亮。 ( 3)單擊軟件最左下方的 Play 按鈕。 硬件調(diào)試 單片機硬件調(diào)試是檢測在設(shè)計電路時,電路中存在的一些缺陷,故硬件調(diào)試是必不可少 的,其步驟大致如下: ( 1)打開軟件 Protues,將設(shè)計好的單片機硬件電路打開。 ( 5)回到編輯界面后,單擊“ Target 1”前面的“ +”號,然后在“ Source Group 1”單擊右鍵選擇“ Add File To Group ‘ Source Group 1’” ,選中 文件。然后點擊確定。 ( 2)然后選擇你要保存的路徑,輸入工程文件的名字,保存。其調(diào)試過程如下: ( 1)新建一個工程。 四川信息職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計說 明書 (論文 )第 13 頁 第 4 章 系統(tǒng)調(diào)試 單片機硬件和軟件調(diào)試的工具分別為 :protues 和 Keil C51 調(diào)試軟件。 TL1=(6553650000)%256。 TR1=0。 delay(500)。 temp1=~temp1。 if(bb!=20) { P1=temp1。 TL1=(6553650000)%256。//設(shè)置外部中斷 0、外部中斷 1的優(yōu)先級 } 此段程序定義了一個返回值為空的 _EX1_函數(shù),關(guān)鍵字 interrupt 后面的 2表示終端號,即表示外部中斷 1,其中斷向量地址為 0013H。//將 key_int1 的值賦給 temp_int1 } PX0=0。//設(shè)置外部中斷 外部中斷 0的優(yōu)先級 temp_int1=key_int1。 1 服務(wù)程序 void _EX1_() interrupt 2 { PX1=0。 TL0=(6553650000)%256。//將 0賦給 aa TR0=0。//temp temp2 右移 1位 delay(500)。//將 temp temp2 的狀態(tài)值賦給 temp temp2 四川信息職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計說 明書 (論文 )第 11 頁 temp1=_cror_(temp1,1)。// 將計算出的值賦給定 時器 0 的低 8位 aa++; //aa 的值自加 1 if(aa!=20)//判斷 aa的值是否等于 20,若不得,則執(zhí)行循環(huán) { P1=temp1。 0中斷服務(wù)程序 void _ET0_() interrupt 1 { TH0=(6553650000)/256。//對 beep 的值進行取反 delay(100)。 P2=0xee。 //對 p1口和 p2 口置 1 } 設(shè)計此段程序是為了實現(xiàn)彩燈的全部閃爍。 //while 循環(huán),若 TR1 等于 1,進行循環(huán) P1=0x0ff。 //將 0 賦給 temp temp2,驅(qū)動彩燈發(fā)光 TR1=1。 3 void FUN3() { temp1=0x0。 P2=0x0ff。 //啟動定時器 /計數(shù)器 0 while(TR0==1)。 temp2=0x
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1