【正文】
了嗎?沒有顯示完進(jìn)行顯示下一位,顯示完了從頭開始再循環(huán)。 濟(jì)源職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計(jì) 19 NOP SETB RST MOV R3,ADDR1302 LCALL CLOCKOUT MOV R3, DATA1302 LCALL CLOCKOUT CLR RST SETB CLK RST 進(jìn)入按鍵程序,判斷有鍵按下嗎?沒有,則調(diào)用延時(shí)重新判斷,如果到了,調(diào)用延時(shí)去抖程序,再次判斷有鍵按下否,沒有則返回延時(shí)程序,如果有按鍵,則判斷鍵號(hào),堆棧,判斷鍵是否釋放,沒有,繼續(xù)判斷,釋放了,則輸入鍵號(hào)送往累加器 ,然后返回主程序。調(diào)用 KS 判斷有鍵按下嗎 JNZ K1 。無鍵按下則調(diào)用延時(shí)子程序 AJMP KEY 。調(diào)用延時(shí)程序 、 定時(shí)器程序模塊 為定時(shí)器 T0 中斷服務(wù)子程序,主要是完成循環(huán)顯示。系統(tǒng)使用 12MHZ 的晶振,定時(shí)器 0 工作方式 1,則 2ms 定時(shí)對應(yīng)的定時(shí)器初值可有下式計(jì)算得到: 定時(shí)時(shí)間 =( 216-定時(shí)器 T0 初值)( 12/振蕩周期) 因此,定時(shí)器 T0 初值 =0F830H,即 TH0=0F8H, TL0=30H,當(dāng)系統(tǒng)使用其他頻率的晶振時(shí),也可以由以上式計(jì)算相應(yīng)的定時(shí)器 T0 處治。 定時(shí)器程序: T0TIMER: NOP PUSH ACC PUSH PSW SETB RS0 DJNZ DISCOUNT, T0TIMER1 MOV DIS COUNT , 6 MOV DUANADDR, 30H MOV WEI MA, 00100000B T0TIMER1: NOP MOV R0, DUANADDR MOV P2, 0 MOV A, R0 MOV DPTR,TAB MOVC A,A+DPTR MOV P0,A MOV P2,WEIMA INC R0 濟(jì)源職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計(jì) 22 MOV A,WEIMA RR A MOV WEIMA,A MOV TH0,0F8H MOV TL1,30H POP PSW POP ACC 濟(jì)源職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計(jì) 23 4 系 統(tǒng) 調(diào) 試 完成了硬件的設(shè)計(jì)、制作和軟件編程之后,要使系統(tǒng)能夠按設(shè)計(jì)意圖正常運(yùn)行,必須進(jìn)行系統(tǒng)調(diào)試。不過,作為一個(gè)單片機(jī)系統(tǒng),其運(yùn)行是軟硬件相結(jié)合的,因此,軟硬件的調(diào)試也是絕對不可能分開的。聯(lián)調(diào)需要注意的是,各程序模塊間能否正確傳遞參數(shù),特別要注意各子程序的現(xiàn)場保護(hù)與恢復(fù)。 打開偉福軟件模擬器,首先進(jìn)行仿真器設(shè)置,如下圖 、 所示:選擇 E6000/L 仿真器 —— POD8ISIP 仿真頭 ——選擇 8751CPU。最后點(diǎn)擊“好”,完成仿真器的設(shè)置。 在 Keil中下載到實(shí)驗(yàn)箱上進(jìn)行驗(yàn)證,顯現(xiàn)出所要求的效果。如圖 示: 圖 在彈出的對話框中選 擇 AT89C51這個(gè)芯片,確定。依據(jù)本論文設(shè)計(jì)以 89C51單片機(jī)為核心的電子時(shí)鐘,經(jīng)過近 2個(gè)月的設(shè)計(jì),最后按設(shè)計(jì)要求終于在單片機(jī)實(shí)驗(yàn)箱上試驗(yàn)成功, 選擇不同的單片機(jī),可以組成具有較強(qiáng)抗干擾能力和運(yùn)行可靠性的產(chǎn)品,其抗干擾能力雖然不如 PLC, 但 PLC價(jià)格較貴 ,用單片機(jī) 運(yùn)行效果仍然令人滿意 ,同時(shí)證 明了本方案的正確性。 從這次的畢業(yè)設(shè)計(jì)中,我真真正正的意識(shí)到,在以后的學(xué)習(xí)中,要理論聯(lián)系實(shí)際,把我們所學(xué)的理論知識(shí)用到實(shí)際當(dāng)中,學(xué)習(xí)單機(jī)片機(jī)更是如此,程序只有在經(jīng)常的寫與讀的過程中才能提高。孫老師多次詢問研究進(jìn)程,并為我指點(diǎn)迷津,幫助我開拓研究思路,精心點(diǎn)撥、熱忱鼓勵(lì)。對孫老師的感激之情是無法用言語表達(dá)的。 通過這次畢業(yè)設(shè)計(jì),使我得到了一次用專業(yè)知識(shí)、專業(yè)技能分析和解決問題全面系統(tǒng)的鍛煉。 不積跬步何以至千里,本設(shè)計(jì)能夠順利的完成,也歸功于各位任課老師的認(rèn)真負(fù)責(zé),使我 能夠很好的掌握和運(yùn)用專業(yè)知識(shí),并在設(shè)計(jì)中得以體現(xiàn)。感謝他們 三 年來的辛勤栽培。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。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。s antiracism taskforce, is in London for the Football Association39。s Premier League match at Chelsea on Sunday. I am going to be at the match tomorrow and I have asked to meet Yaya Toure, he told BBC Sport. For me it39。s 21 win. Michel Platini, president of European football39。s actions. CSKA said they were surprised and disappointed by Toure39。 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)到了尾聲??傆X得自己自己似乎應(yīng)該去做點(diǎn)什么,或者寫點(diǎn)什么。 The end of our life, and can meet many things really do? 而窮盡我們的一生,又能遇到多少事情是真正地非做不可? 濟(jì)源職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計(jì) 31 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 really grow up, it seems is not so important。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。 Originally, this world, can produce a chemical reaction to an event, in addition to resolutely, have to do, and time. 原來,這個(gè)世界上,對某個(gè)事件能產(chǎn)生化學(xué)反應(yīng)的,除了非做不可的堅(jiān)決,還有,時(shí)間。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. 一個(gè)人的時(shí)候,自己的想法總是特別地清晰。也曾經(jīng)好像已經(jīng)下定了決心去做某件事,但更多的時(shí)候是最后又打起了退堂鼓。那些曾經(jīng)所謂的非做不可,只是青蔥年華里自己給自己注射的一支強(qiáng)心劑,或者說,是自以為是的精神寄托罷了 。 Those were broken into various shapes of stationery。 Have declared the end of the encounter that haven39。突然想到那件藍(lán)格子襯衫;那些被折成各種各樣形狀的信紙;那段從街角深巷伊始的友誼;還有那場還沒有開始就宣告了終結(jié)的邂逅計(jì)劃 …… 那些年那些天的非做不可,終于和青春一樣,都將在我們的人生中謝幕。ll be traveling fast, so despite the distance, it will not 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. 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。t. Baumgartner still will free fall at a speed that would cause you and me to pass out, and no parachute is guaranteed to work higher than 25,000 feet (7,620 meters). cause there