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

正文內(nèi)容

基于單片機(jī)89c51的數(shù)碼管顯示時(shí)鐘設(shè)計(jì)-全文預(yù)覽

  

【正文】 4) //若hh為24,hh=0 hh=00。//秒分時(shí)計(jì)算 if(ss==60) //若ss為60,ss=0,同時(shí)mm+1 { ss=00。 //重新初始化T0 TL0=(6553610001)%256。 h_ge=hh%10。 //拆分 s_ge=ss%10。 //定時(shí)器開始工作 ET0=1。 TL1=(6553610001)%256。 //1S時(shí),t=700 t0=0。 //定時(shí)器初始化 P2=0xfe。sbit p31=P3^1。參考文獻(xiàn)[1] 康華光,鄒壽彬,秦臻. 電子技術(shù)基礎(chǔ)——數(shù)字部分. 北京——高等教育出版社,2006. 1[2] 張毅剛,彭喜元,董繼成. 單片機(jī)原理及應(yīng)用. 高等教育出版社,[3] 劉鯤,劉春亮,黃焱. 單片機(jī)C語(yǔ)言入門. 人民郵電出版社,2008年4月第1版.1. 開始函數(shù)的定義:includedefine uchar unsigned char //宏定義define uint unsigned int //宏定義include //循環(huán)左移函數(shù)庫(kù)void jian_pan()。重新初始化T0t++,t0++秒分時(shí)計(jì)算,ss=60,則ss=0,mm++。數(shù)碼管左邊的上拉電阻具有自動(dòng)拉高P0I/O口的功能。利用開關(guān)來(lái)控制開啟,暫停計(jì)時(shí),并切換時(shí)鐘,秒表,倒計(jì)時(shí)定時(shí)器功能。2.時(shí)、分校時(shí)控制,當(dāng)校時(shí)按鈕按下時(shí),可對(duì)時(shí)、分計(jì)數(shù)器CP端輸入秒脈沖來(lái)加速計(jì)數(shù)速度來(lái)達(dá)到校時(shí)目的。具體設(shè)計(jì)基本任務(wù)是:1.用LED數(shù)碼管顯示時(shí)間,且能顯示時(shí)、分、秒的24小時(shí)制的數(shù)字鐘。 The system uses MCU with time, the school features such as the digital clock, SCM AT89C51 is also used as the core ponents of the LED digital display dynamic display when and points and seconds of the modern time device . Compared with the traditional mechanical watches, it has a precise path that intuitive, and other characteristics. In addition a school function, stopwatch function, and the timer function to achieve MCU use of the digital clock with programming flexibility to facilitate the expansion of functional advantages. Key words: digital clock system。關(guān)鍵詞:數(shù)字鐘系統(tǒng); 單片機(jī);數(shù)碼管顯示Digital clock system Abstract SCM in multifunction digital clock in the application is already very mon, people on the digital clock function and are very familiar with the work order. But very few know that its internal structure and working principles. SCM as a digital clock from the core controller, it can achieve the clock signal timing, its time data by the MCU output, use of monitors displayed. Keyboard can be carried out at the school, timing, and other functions. Output devices can be used liquid crystal display monitors and digital technology to display the technology. 輸出設(shè)備顯示器可以用液晶顯示技術(shù)和數(shù)碼管來(lái)顯示技術(shù)。基于單片機(jī)的數(shù)字時(shí)鐘摘 要單片機(jī)在多功能數(shù)字鐘中的應(yīng)用已是非常普遍的,人們對(duì)數(shù)字鐘的功能及工作順序都非常熟悉。通過(guò)鍵盤可以進(jìn)行校時(shí)、定時(shí)等功能。另外具有校時(shí)功能,秒表功能,和定時(shí)器功能,利用單片機(jī)實(shí)現(xiàn)的數(shù)字時(shí)鐘具有編程靈活,便于功能的擴(kuò)充等優(yōu)點(diǎn)。主控系統(tǒng)能響應(yīng)按鍵,并對(duì)其進(jìn)行相應(yīng)的處理,再把其對(duì)應(yīng)的結(jié)果數(shù)據(jù)在數(shù)碼管LED上顯示。800Hz信號(hào)同時(shí)作為動(dòng)態(tài)掃描顯示電路的時(shí)鐘信號(hào)。 考慮到設(shè)計(jì)硬件簡(jiǎn)單原則,利用單片機(jī)實(shí)現(xiàn)的數(shù)字時(shí)鐘具有編程靈活,便于功能的擴(kuò)充等優(yōu)點(diǎn),故本設(shè)計(jì)采用方案二。1.原理 本設(shè)計(jì)主要應(yīng)用了單片機(jī)原理,利用單片機(jī)的I
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1