【正文】
.................................................... 17 課程設(shè)計體會 ...................................................... 17 致謝 ................................................... 18 參考文獻 ............................................... 19 附錄 ................................................... 20 1 第 1 章引言 引言 微型計算機簡稱微機,由于具備人腦某些功能,所以又叫做微機。在兩周的時間內(nèi),我們用絕大部分時 2 間編寫程序,就像陷入深谷中,反而不知整個系統(tǒng)的全貌。 項目的設(shè)計概述 本程序設(shè)計意在展示跑馬燈的色彩樣式及“跑馬”變換效果,如果將跑馬燈做大,會有很高的觀賞價值。 P2 口( 21~ 28 號腳)為準(zhǔn)雙向輸入 /輸出端口。主要特點: 輸出電流可達 1A,輸出電壓有: 5V,過 熱保護,短路保護,輸出晶體管 SOA 保護。隨之 +5V 電源給電容充電,電阻上的電壓逐漸減小,最后約等于 0,芯片正常工作。 (在左右流水燈的程序中) mov a, 0feh 標(biāo)志 1? 標(biāo)志 2? 標(biāo)志 3? 標(biāo)志 4? 標(biāo)志 5? 雙向 跑馬燈 左向 跑馬燈 右向 跑馬燈 自設(shè) 樣式 1 自設(shè) 樣式 2 N N N N Y Y Y Y Y 13 給 a 賦值 0feh,而后又將 a 輸出給 p0,亮燈, 0feh 轉(zhuǎn)化為 2 進制書就是 11111110,即讓第一個燈亮,其余的燈滅。按下 k1 鍵,程序作左向流水燈 。感謝他們對我的關(guān)注、關(guān)心與支持。i=a。amp。//調(diào)用表中設(shè)定值 temp1++。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。 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。 Have declared the end of the encounter that haven39。那些曾經(jīng)所謂的非做不可,只是青蔥年華里自己給自己注射的一支強心劑,或者說,是自以為是的精神寄托罷了。 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)到了尾聲。 temp1。k1!=0amp。//溢出位與移位后得值進行或運算 P0=xianshi。 unsigned char xianshi=0xfe,xianshi1=0xe7。但在軟件設(shè)計時,出現(xiàn)了一系列的問題,給我的調(diào)試帶來了很 大的影響,后來在整機調(diào)試過程中也遇到類似的問題,經(jīng)過相互的討論合作,成功地解決掉所遇到的問題,最后完成了課題設(shè)計。 圖 36 LED 跑馬燈左循環(huán) 16 圖 37 LED 跑馬燈右循環(huán) 圖 38 LED 跑馬燈從內(nèi)到外循環(huán) 17 第 4 章 總結(jié) 結(jié)論 本設(shè)計利用 P0 的 8 個端口連接 8 個發(fā)光二極管,通過 到 的值控制“跑馬燈”的亮滅 ,以達到顯示效果。如果是 k1,就執(zhí)行左跑馬燈;如果是 k2,就執(zhí)行右跑馬燈;如果是 k3,就執(zhí)行亮點向中間移動;如果是 k4,就執(zhí)行亮點向兩邊移動。如果 RST 持續(xù)為高電平,單片機就處于循環(huán)復(fù)位狀態(tài)。 7805 系列為三端正穩(wěn)壓電路 ,TO220 封裝,能提供多種固定的輸出電壓,應(yīng)用范圍廣。 ( 3)控制引腳: ALE/為地址鎖存允許信號,用來把低 8 位地址鎖存到外部地址鎖存器。 本次畢業(yè)設(shè)計給了我一個實踐的機會,鍛煉了自己適 應(yīng)社會的能力以及意志。 課程設(shè)計是單片機課程教學(xué)的最后一個環(huán)節(jié),是對我進行全面的系統(tǒng)的訓(xùn)練 。 press K2 key procedures to light water right。但是經(jīng)過了一系列決策后,并最終 取了不俗的成績。所謂單片機就是把中央處理器、存儲器、定時器、 I/0 接口電路等一些計算機的主要功能部件集成在一塊集成電路芯片上 的微型計算機。設(shè)計的中斷程序要對多個按鍵動作進行響應(yīng),燈光變換的花樣有 4 種,用 4 個按鍵 k0,k1,k2,k3 切換。是由大規(guī)模集成電路組成的、體積較小的電子計算機。實際上涉及編程的問題的不同,程序就不同,而一些通用程 序如多字節(jié)算術(shù)運算、數(shù)制轉(zhuǎn)換等均有參考資料可查。 我查閱書籍資料,瀏覽網(wǎng)上的各種作品及代碼,通過各種實現(xiàn)代碼的比較,和各種優(yōu)化,總結(jié)出本程序,以較優(yōu)秀的代碼實現(xiàn)各種可控的“跑馬”功能。 P3 口( 10~ 17 號腳)為準(zhǔn)雙向輸 入 /輸出端口。 時鐘電路 24 時鐘電路 在設(shè)計時鐘電路之前,時鐘電路如圖 24 所示,讓我們先了解下 51 單片機上的時鐘管腳: XTAL1( 19 腳) :芯片內(nèi)部振蕩電路輸入端。并聯(lián)在電容的兩端為復(fù)位按鍵,當(dāng)復(fù)位按鍵沒有被按下的時候電路實現(xiàn)上電復(fù)位,在芯片正常工作后,通過按下按鍵使 RST 管腳出現(xiàn)高電平達到手動復(fù)位的效果。 lcall del100ms rl a 延遲 100ms 后, rl a 是讓 a 按位左移,再次執(zhí)行輸出 p0 時的效果就是只第二個燈亮。 按下 k2 按鍵程序作右向流水燈 。 在這次課題設(shè)計中,主要重點是電 路的安裝和調(diào)試,及軟件程序的讀者論壇,整機調(diào)試。i++) { 。k3!=0amp。//顯示一次進行標(biāo)號累加 delay(1000000)。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 it. 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。 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 start planning... Those years, those days of do, finally, like youth, will end in our life. 此刻,天空是陰暗的,空氣里有著剛下過雨之后的清新因子。嫌惡過自己的怯懦,最終卻發(fā)現(xiàn)有很多 緣分 ,有很多錯過,好像冥冥之中真的已經(jīng)注定。s plaint. In a statement the Russian side added: We found no racist insults from fans of CSKA. Age has reached the end of the beginning of a word. May be guilty in