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

正文內容

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

2025-07-15 18:33 上一頁面

下一頁面
  

【正文】 4) //若hh為24,hh=0 hh=00。//秒分時計算 if(ss==60) //若ss為60,ss=0,同時mm+1 { ss=00。 //重新初始化T0 TL0=(6553610001)%256。 h_ge=hh%10。 //拆分 s_ge=ss%10。 //定時器開始工作 ET0=1。 TL1=(6553610001)%256。 //1S時,t=700 t0=0。 //定時器初始化 P2=0xfe。sbit p31=P3^1。參考文獻[1] 康華光,鄒壽彬,秦臻. 電子技術基礎——數(shù)字部分. 北京——高等教育出版社,2006. 1[2] 張毅剛,彭喜元,董繼成. 單片機原理及應用. 高等教育出版社,[3] 劉鯤,劉春亮,黃焱. 單片機C語言入門. 人民郵電出版社,2008年4月第1版.1. 開始函數(shù)的定義:includedefine uchar unsigned char //宏定義define uint unsigned int //宏定義include //循環(huán)左移函數(shù)庫void jian_pan()。重新初始化T0t++,t0++秒分時計算,ss=60,則ss=0,mm++。數(shù)碼管左邊的上拉電阻具有自動拉高P0I/O口的功能。利用開關來控制開啟,暫停計時,并切換時鐘,秒表,倒計時定時器功能。2.時、分校時控制,當校時按鈕按下時,可對時、分計數(shù)器CP端輸入秒脈沖來加速計數(shù)速度來達到校時目的。具體設計基本任務是:1.用LED數(shù)碼管顯示時間,且能顯示時、分、秒的24小時制的數(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。關鍵詞:數(shù)字鐘系統(tǒng); 單片機;數(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ù)碼管來顯示技術?;趩纹瑱C的數(shù)字時鐘摘 要單片機在多功能數(shù)字鐘中的應用已是非常普遍的,人們對數(shù)字鐘的功能及工作順序都非常熟悉。通過鍵盤可以進行校時、定時等功能。另外具有校時功能,秒表功能,和定時器功能,利用單片機實現(xiàn)的數(shù)字時鐘具有編程靈活,便于功能的擴充等優(yōu)點。主控系統(tǒng)能響應按鍵,并對其進行相應的處理,再把其對應的結果數(shù)據在數(shù)碼管LED上顯示。800Hz信號同時作為動態(tài)掃描顯示電路的時鐘信號。 考慮到設計硬件簡單原則,利用單片機實現(xiàn)的數(shù)字時鐘具有編程靈活,便于功能的擴充等優(yōu)點,故本設計采用方案二。1.原理 本設計主要應用了單片機原理,利用單片機的I
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1