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

正文內(nèi)容

基于at89s52與c51的多功能電子時(shí)鐘設(shè)計(jì)-文庫吧資料

2025-06-10 22:27本頁面
  

【正文】 et1302(0x86,(date14)|date0)。 WriteSet1302(0x82,(minute14)|minute0)。 //消抖 Set_Time_Flag=0。//消抖 while(INT1==0)。 if(Key_Value!=1)break。 /***********************************************/ while(1) { WriteAddr(Addr_LCD[j])。 year1=(temp4)amp。 year0=tempamp。0x0f。0x0f)。0x0f。 temp=ReadSet1302(0x89)。 date1=(temp4)amp。//(temp4)*10+(tempamp。 date0=tempamp。0x0f。0x0f)。0x0f。 temp=ReadSet1302(0x85)。 minute1=(temp4)amp。//(temp4)*10+(tempamp。 minute0=tempamp。0x0f。0x0f)。0x0f。0x7f。//關(guān)閉寫保護(hù) WriteCom(0x0f)。 WriteSet1302(0x80,temp)。 Unsigned char second0,minute0,hours0,date0,month0,year0,second1,minute1,hours1,date1,month1,year1。 } unsigned char SetTime() //時(shí)間設(shè)置函數(shù) { unsigned char temp,Key_Value,j=0。:39。 WriteAddr(0x4b)。:39。 WriteAddr(0x48)。39。 WriteAddr(0x0b)。39。 WriteAddr(0x08)。 WriteAddr(0x41)。 //0010 1001 } void ShowTimeInfo()//調(diào)用函數(shù)前初始化 LCD { WriteAddr(0x01)。0x0f)。 temp=ReadSet1302(0x81)。 display(minute)。 minute=(temp4)*10+(tempamp。 WriteAddr(0x49)。0x0f)。 temp=ReadSet1302(0x85)。 display(date)。 date=(temp4)*10+(tempamp。 WriteAddr(0x0c)。0x0f)。 temp=ReadSet1302(0x89)。 display(year)。 year=(temp4)*10+(tempamp。 WriteAddr(0x06)。 } void ShowTime() { unsigned char second,minute,hours,date,mouth,year。 WriteAddr(0x4a)。 } void ShowTempInfo()//調(diào)用函數(shù)前初始化 LCD { WriteAddr(0x00)。)。 WriteData(39。 WriteAddr(0x45)。 39。)。 if(Temperature_flag==1) WriteData(39。 else XS=0。 if(TLamp。0x0f)|((TH4)amp。 } else Temperature_flag=0。 if(TL==0xff)TH=TH+1。 TH=~TH。 if((THamp。 TL=DS18B20ReadByte()。 } void ShowTemp() //顯示溫度整數(shù)部分 { unsigned char TH,TL,ZS,XS。 WriteData(ch[j])。 j=uc%10。 } } void display(unsigned char uc) { unsigned char i,j。j308。in。 } static void delaynms(unsigned int n) { unsigned int i,j。i20。 static void delay() { unsigned char i。//返回主界面的標(biāo)志,主函數(shù)與中斷函數(shù)公用這一變量,為 1 表示要返回, 0 表示不返回 volatile bit Set_Time_Flag。其接線如圖 6所示: D7D0D1D2D3D4D5D6P2.0P2.1P2.2D714D613D512D411D310D29D18D07E6RW5RS4VSS1VDD2VEE3L C D 1L M 0 1 6 LV C C50%R V 21 0 k 圖 5 : 系統(tǒng)整體電路如圖 6所示: D6D0D1D2D3D4D5D7D7D0D1D2D3D4D5D6P2.0P2.1P2.2P 2 . 2P 2 . 0P 2 . 1D6D0D1D2D3D4D5D7r e s e tP 1 . 0P 1 . 1P 1 . 2P 1 . 0P 1 . 2P 1 . 1X T A L 218X T A L 119A L E30EA31P S E N29RS T9P 0 .0 /A D 039P 0 .1 /A D 138P 0 .2 /A D 237P 0 .3 /A D 336P 0 .4 /A D 435P 0 .5 /A D 534P 0 .6 /A D 633P 0 .7 /A D 732P 1 .0 /T 21P 1 .1 /T 2 E X2P 1 . 23P 1 . 34P 1 . 45P 1 . 56P 1 . 67P 1 . 78P 3 .0 /R X D10P 3 .1 /T X D11P 3 .2 /I NT 012P 3 .3 /I NT 113P 3 .4 /T 014P 3 .7 / R D17P 3 . 6 / W R16P 3 .5 /T 115P 2 .7 /A 1 528P 2 .0 / A 821P 2 .1 / A 922P 2 .2 /A 1 023P 2 .3 /A 1 124P 2 .4 /A 1 225P 2 .5 /A 1 326P 2 .6 /A 1 427
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1