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

正文內(nèi)容

畢業(yè)論文-基于at89c51單片機的空調(diào)控制系統(tǒng)設(shè)計-預(yù)覽頁

2025-07-08 10:47 上一頁面

下一頁面
 

【正文】 計一般應(yīng)用在單個 LED的驅(qū)動或LED數(shù)量較少,且所選的 MCUI/O口比較充裕的情況下。在輪流顯示過程中,每位數(shù)碼管的點亮時間為 1~ 2ms,由于人的視覺暫留現(xiàn)象及發(fā)光二極管的余輝效應(yīng),盡管實際上各位數(shù)碼管并非同時點亮,但只要掃描的速度足夠快,給人的印象就是一組穩(wěn)定的顯示數(shù)據(jù),不會有閃爍感,動態(tài)顯示的效果和靜態(tài)顯示是一樣的, 卻 能夠節(jié)省大量的 I/O端口,而且功耗更低。式中, f為掃描的頻率,對應(yīng)為定時器的時間( T=1/ f); 32則是由 32ms換算而來, 32ms對應(yīng)的頻率剛好為 32Hz; N則時總的 LED的組 數(shù)(此例中 N=4)。由前述可知, P2 口的 , P2 口的 至 選碼, LED就會顯示出數(shù)字來。如:有一個單元存儲了 45這樣一位數(shù),則需轉(zhuǎn)換成四位 BCD碼 (0100) (1001)然后放入A中, A中 BCD碼,高四位代表 4,低 四位代表 5,同時送給兩個譯 碼器中,譯碼后 45 字就在兩個 LED 中顯示出來。 供電部分輸入 220V、 50HZ 的交流電,輸出電壓 +5V,供給整個電路電源, 電流最大為 400mA; LM17812和 LM17805負載重,功率大,加裝了散熱片。本電路選用的電容為 33pF,晶振頻率為 12MHz。在石英晶體的兩個管腳加交變電場時,它將會產(chǎn)生一定 頻率的機械變形,而這種機械振蕩又會產(chǎn)生交變電場,上述物理現(xiàn)象稱為壓電效應(yīng)。石英晶振起振后要能在 X2 線上輸出一個 3V 左右的正弦波,以便使 MCS51 片內(nèi)的 10 OSC電路按石英晶振相同頻率自激振蕩。 C語言更接近機器語言,常用來編制與系統(tǒng)硬件相關(guān)的程序,如訪問 I/O 端口、中斷處理程序、實時控制程序、實時通信程序等;而數(shù)學運算程序則適合用 C51高級語言編寫,因為用高級語言編寫運算程序 可提高編程效率和應(yīng)用程序的可靠性。 Keil 在 Windows操作系統(tǒng)下直接使用,編譯匯編源程序,并生成 16 進制文件和列表文件。模擬器采用 Windows系統(tǒng),能完全模擬 AT89C51的所有功能。 部分程序的流程圖 主程序流程圖 本設(shè)計主程序流程如圖 31所示。如主機控制 DS18B20完成溫度轉(zhuǎn)換 這一過程,根據(jù) DS18B20 的通訊協(xié)議,須經(jīng)三個步驟:每一次讀寫之前都要對 DS18B20進行復(fù)位,復(fù)位成功后發(fā)送一條 ROM指令,最后發(fā)送 RAM指令,這樣才能對 DS18B20進行預(yù)定的操作。 // 初始化 ds18b2子函數(shù) delay_MS(1)。 // 連續(xù)讀兩個字節(jié)數(shù)據(jù) temp_data[1]=ReadOneChar()。 // 兩字節(jié)合成一個整型變量。 } // 負溫度求補碼 ,標志位置 1 else flag1=0。 // 存入小數(shù)部分顯示值 Dis_ram[0]=tem4。 else Dis_play[4]=0 。 // 取十位數(shù)據(jù)暫存 Dis_play[2]=Dis_play[2]%10。其流程圖如圖 33: 15 圖 33 LED顯示流程圖 程序如下 : LED1=~LED1。k4。 //位選 delay_MS(90)。 //顯示 C delay_MS(90)。 IT0=1。 if(Dis_play[4]==1) shengwen()。 } while(1)。每天的努力,喚來了我對課程設(shè)計的重新的認識,對 51 單片機和控制系統(tǒng)的深刻理解,實現(xiàn)了真正實踐的目的。把課本的知識運用到實際中,經(jīng)過我多次努力最終完成了此次課程設(shè)計。我有如此的收獲于我的帶領(lǐng)老師潘云霞辛勤教導緊密相連,多謝臧老師諄諄教誨。 在論文即將完成之際,我的心情無法平靜,從開始進入課題到論文的順利完成,有多少可敬的師長、同學、朋友給了我無言的幫助,在這 里請接受我誠摯的謝意 !最后我還要感謝培養(yǎng)我長大含辛茹苦的父母,謝謝你們 。 // 定義一個標志 ,溫度是負或正 ,1 為負 ,0 為正 uchar data temp_data[2]={0x00,0x00}。 //上限報警溫度,默認值為 38 uchar XX=15。 //定義增加鍵 //sbit KO = P3^3。 //小數(shù)點 define Disdata P0 // 段碼入口 //P0 111 define discan P2 // 數(shù)碼管位選掃描 //P2 111 uchar code table[]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90,0xff,0xbf}。 for( 。Y++)。 //稍做延時 DQ = 0。 x=DQ。 for (i=8。 // 數(shù)據(jù)右移一位 DQ = 1。 } void WriteOneChar(unsigned char dat) // 寫字節(jié)子函數(shù) { uchar i = 0。 DQ = datamp。 dat=1。 // 跳過序列號命令 WriteOneChar(0x44)。 WriteOneChar(0xcc)。 temp1=temp_data[1]。 return temp1。 Dis_ram[0]=temamp。 // 取中間八位 ,即整數(shù)部分的值 Dis_play[0]=Dis_ram[0]/100。 if(Dis_play[2]=SX) Dis_play[5]=1 。 // 取個位數(shù)據(jù)暫存 if(!Dis_play[0]) // 最高位為 0 都不顯示 { Dis_play[0]=0x0a。 } void jiangwen() { LED2=~LED2。k++) //4 位 LED 掃描控制 { if(table[Dis_play[k]] != 0) { Disdata=table[Dis_play[k]]。 //延時 discan=0x00。 discan=0x00。 //下降沿觸發(fā) do { tmpchange()。 else LED1=1。 } void EX_INT0() interrupt 0 { int ge,shi,k。 shi=SX/10。k) { P0=table[shi]。 P0=table[ge]。 discan=scan_con[7]。 } } } if(DEC==0) { delay1(120)。 ge=XX%10。 discan=scan_con[4]。 discan=scan_con[5]。 //位選 P0=0xc6。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。s antiracism taskforce, is in London for the Football Association39。s 21 win. Michel Platini, president of European football39。 May be back in the past, to oneself the paranoid weird belief disillusionment, these days, my mind has 31 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)到了尾聲。 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 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。s time, your ideas are always special to clear. Want, want, line is clear, as if nothing could shake his. Also once seemed to be determined to do something, but more often is he backed out at last. Dislike his cowardice, finally found that there are a lot of love, there are a lot of miss, like shadow really have been doomed. Those who do, just green years oneself give oneself an arm injection, or is a selfrighteous spiritual. 32 一個人的時候,自己的想法總是特別地清晰。那些曾經(jīng)所謂的非做不可,只是青蔥年華里自己給自己注射的一支強心劑,或者說,是自以為是的精神寄托罷了。 Have declared the end of the encounter that haven39。ll be traveling fast, so despite the distance, it will not 33 be like diving 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. Lik
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1