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

正文內(nèi)容

溫度控制系統(tǒng)論word版-資料下載頁(yè)

2025-01-08 08:03本頁(yè)面
  

【正文】 P0=TAB[fg]。 delay(5)。 wei4=1。 P0=0xff。 } /////////調(diào)最低溫度調(diào)用的函數(shù) ////// void ldisplay(uchar dat) { uchar fs,fg。 wei1=0。 //讀取最低溫度符號(hào) “ L=” P0=TAB1[2]。 delay(2)。 wei1=1。 P0=0xff。 wei2=0。 P0=TAB1[0]。 delay(2)。 wei2=1。 P0=0xff。 fs=dat/10。 fg=dat%10。 wei3=0。 P0=TAB[fs]。 delay(2)。 wei3=1。 P0=0xff。 wei4=0。 P0=TAB[fg]。 delay(2)。 wei4=1。 P0=0xff。 } /****按鍵掃描 ******/ void keyscan() { if(k1==0) { delay(10)。 if(k1==0) { yyp=0。 s1num++。 while(!k1)。 //等待按鍵釋放 di()。 htemp=byte_read(0x2200)。 ltemp=byte_read(0x2022)。 switch(s1num) { case 1:break。 case 2:break。 case 3:if(s1num==3)s1num=0。yyp=1。 break。 } } } if(s1num!=0) { if(k2==0) { delay(10)。 if(k2==0) { do { delay1(10)。 } while((!k2)amp。(key_delay++key_count))。 ///等待按鍵釋放 di()。 switch(s1num) { case 1: htemp++。 if(htemp==99)htemp=0。 hdisplay(htemp)。 SectorErase(0x2200)。//擦除扇區(qū) byte_write(0x2200,htemp)。//重新寫入數(shù)據(jù) break。 case 2: ltemp++。 if(ltemp==99)ltemp=0。 ldisplay(ltemp)。 SectorErase(0x2022)。//擦除扇區(qū) byte_write(0x2022,ltemp)。//重新寫入數(shù)據(jù) break。 } } } if(k3==0) { delay(10)。 if(k3==0) { do { delay1(10)。 } while((!k3)amp。(key_delay++key_count))。 //等待按鍵釋放 di()。 switch(s1num) { case 1: htemp。 if(htemp==0)htemp=99。 hdisplay(htemp)。 SectorErase(0x2200)。//擦除扇區(qū) byte_write(0x2200,htemp)。//重新寫入數(shù)據(jù) break。 case 2: ltemp。 if(ltemp==0)ltemp=99。 ldisplay(ltemp)。 SectorErase(0x2022)。//擦除扇區(qū) byte_write(0x2022,ltemp)。//重新寫入數(shù)據(jù) break。 } } } } } /////////////////////////////////////////////////////////// void baojing() { if((TN=htemp)||(TN=ltemp)) //溫度高于設(shè)置最大溫度 { unsigned char i=0。 for (i=8。 i0。 i) { beep=~beep。 get_wendu(TN)。 get_wendu2(TD)。 get_wendu(TN)。 get_wendu2(TD)。 } } else { beep=1。 } } void main() { htemp=byte_read(0x2200)。 ltemp=byte_read(0x2022)。 while(1) { keyscan()。 if(s1num==1)hdisplay(htemp)。 if(s1num==2)ldisplay(ltemp)。 if(yyp) { ReadTemp()。keyscan()。 get_wendu(TN)。 get_wendu2(TD)。 baojing()。 } } }
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1