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

正文內(nèi)容

恒溫箱溫度計(jì)算機(jī)控制系統(tǒng)設(shè)計(jì)報(bào)告(參考版)

2024-08-31 12:50本頁(yè)面
  

【正文】 } 。 Result = 45Result。 if(Result=40) Result = 40。 else if((tsettfeedback)) Result=40。amp。 ErrorSum=ErrorNew。 uchar PidControl(float Kp,float Ki,float tset,float tfeedback) { int Result=0。 //開總中斷 } include float ErrorNew。 //外部中斷 0 PX0=0。 } void XInterruptInit(void) { IT0=1。 PT0=1。 TL0=(65535200)%256。 } } include void TimerInit(void) { TMOD=0x01。 time = 0。 _nop_()。 _nop_()。 if(time==ExpectTime) { Controlpin = 0。 TL0 = (65535200)%256。 } void Timer0() interrupt 1 { static char time=0。C )。C )。=0xef。 Controlpin=0。 P2 |=0x10。 if(TempNewTempSet) { // EA=0。 TempReal=TempNew。 beepflag=1。 Beep =1。 Light=0。 Delayms(500)。 Beep =1。 Light=0。 } if(Be_LiFlag==6) { Be_LiFlag=0。amp。 beepflag=0。 while(OutFlag==0) { keyDone()。 EA=0。 Beep =1。 XInterruptInit()。 //float TempOld2 = 0。 float TempNew = 0。 uchar ExpectTime=0。 extern float TempSet。 } //=============================================// //===================主函數(shù) ====================// //=============================================// uchar beepflag=0。i=0。j=0。 //=============================================// //===================延時(shí)函數(shù) ====================// //=============================================// void Delayms(int z) { int i,j。 sbit Light=P2^3。 } OutKey()。 break。 dispaly(0x80+0x40,Temp_Set:,TempSet,39。 case 2: UpKey()。C)。 DownKey()。 SetKey()。 dispaly(0x80+0x40,Temp_Set:,TempSet,39。 } while(OUT==0)。 if(OUT==0) { OutFlag++。 } } while(DOWN==0)。 break。 if(temp) temp=。 case 2:temp=TempSet。 TempSet=temp。 temp=temp1。 } } void DownKey() //按鍵減 { if(DOWN==0) { DelayKeyms(10)。 default:break。 TempSet=temp。 temp=temp+。 break。 if(temp) temp=。 if(UP==0) { switch(count) { case 1:temp=TempSet。 } while(SET==0)。 if(SET==0) { count++。} } return 0。 if(Key3==0) { while(!Key3)。 return 2。} } if(Key2==0) { DelayKeyms(10)。 if(Key1==0) { while(!Key1)。 float temp。 uchar OutFlag=1。 sbit OUT=P1^3。 sbit UP=P1^1。i)。j) for(i=110。 for(j=z。 return((TH*256+TL)*)。 //讀取溫度寄存器等(共可讀 9個(gè)寄存器) 前兩個(gè)就是溫度 TL=ReadOneChar()。 WriteOneChar(0xCC)。 // 啟動(dòng)溫度轉(zhuǎn)換 delayDs18b20(200)。 WriteOneChar(0xCC)。 uchar TL=0。 } delayDs18b20(5)。 DQ = 1。0x01。 i) { DQ = 0。 for (i=8。 } return(dat)。 // 給脈沖信號(hào) if(DQ) dat|=0x80。 // 給脈沖信號(hào) dat=1。i0。 uchar dat = 0。 //拉高總線 delayDs18b20(20)。 //單片機(jī)將 DQ拉低 delayDs18b20(80)。 //DQ復(fù)位 delayDs18b20(8)。 //delayDs18b20延時(shí)函數(shù) void delayDs18b20(uint i)//延時(shí)函數(shù) { while(i)。pp++) { write_dat(*pp)。*pp!=39。 write_(ad)。pt++) { write_dat(*pt)。*pt!=39。 write_dat(table[Val%10])。.39。 write_dat(table[Val%100/10])。 } Val = (int)(v
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1