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

正文內(nèi)容

[工學(xué)]基于超再生無(wú)線技術(shù)的環(huán)境探測(cè)系統(tǒng)設(shè)計(jì)(參考版)

2025-01-21 14:25本頁(yè)面
  

【正文】 //寫入定時(shí)器0初始值 TL0=0x77。 }}void timer0(void)interrupt 1{ uchar i。i5。 disp_buffer[0]=temp/100。 disp_buffer[2]=temp%10。 if(disp[0]==0xf0) temp=val。 EA=1。 TR0=0。 TH0=0x1f。 }void main(){ uchar i,t。 buff=buff|disp[2]。j8。 } } } buff=disp[1]。 if(!rxd2) { disp[j]=disp[j]|0x01。 disp[j]=disp[j]1。i8。j3。 uint buff。 return 1。 while(i) { if(rxd2==0) i=24。 }/*****************************************/uchar rxd1ready() { uchar i。 temp=(temp1)|0x01。 delay(1)。 } else P2=lab[disp_buffer[i]]。i4。 temp=0xfe。j++)。i++) for(j=0。 for(i=0。sbit rxd2=P3^0。uchar count,disp[2]。 } }2.?dāng)?shù)據(jù)接收模塊源程序 include includedefine uchar unsigned chardefine uint unsigned intuchar lab[10]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}。 txd1(val2)。 txd2=1。 while(1) { temp=readtemperature()。0x00ff。i++) temp=temp8。 // for(i=0。 val1=tempamp。 // delay8us(15)。 delay8us(9)。 delay8us(9)。 delay8us(18)。 delay8us(9)。0x80。i8。 }/**************************************************發(fā)送數(shù)據(jù)函數(shù)***************************************************/ }void txd1(uint temp ){ uchar i,wei。 P0=0xff。 P0=temp。i++) { if(i==1) { P2=lab[disp_buffer[i]]+0x80。 for(i=0。}/***********************************************************************///顯示函數(shù)/***********************************************************************/void display(){ uchar i,temp。 temp=m*10+。 } else { flag=0。 if(temp0xfff) { flag=1。 write(0xbe)。 //啟動(dòng)溫度轉(zhuǎn)換 init()。 write(0xcc)。 float m。 } return(dat)。 dq=1。 if(dq) { dat=(dat1)|0x8000。i++) { dq=0。 for(i=0。 }}/********************************************************************************************************讀函數(shù),每次返回16位的溫度值********************************************************************************************************/uint read(){ uchar i。 dq=1。0x01。i++) { dq=0。 for(i=0。 //存在脈沖存活時(shí)間 dq=1。 while(dq)。 delay_us(60)。 delay_us(1)。 }/*****************************************//********************************************************************************************************延遲函數(shù),x=1大約延遲8us********************************************************************************************************/void delay_us(uint x){ while(x)。j++)。i++) for(j=0。 for(i=0。sbit txd2=P3^1。uchar disp_buffer[4]。 參考文獻(xiàn)[1] 譚浩強(qiáng) 《C程序設(shè)計(jì)》 清華大學(xué)出版社 [2] 李群芳 肖看 《單片機(jī)原理,接口及應(yīng)用》 清華大學(xué)出版社 [3] 張義和 王敏男 《例說(shuō)51單片機(jī)》 人民郵電出版社 [4] 蔡美琴 張為民 《MCS51系列單片機(jī)系統(tǒng)及其應(yīng)用》 高等教育出版社 1992[5] 高峰 《單片微機(jī)應(yīng)用系統(tǒng)設(shè)計(jì)及實(shí)用技術(shù)》 機(jī)械工程出版社 2004[6] 楊全勝 《現(xiàn)代微機(jī)原理與接口技術(shù)》 電子工業(yè)出版社 2004[7] 全國(guó)大學(xué)生電子設(shè)計(jì)競(jìng)賽組委會(huì) 《全國(guó)大學(xué)生電子設(shè)計(jì)競(jìng)賽獲 獎(jiǎng)作品精選 (1994——1999)》 北京理工大學(xué)出版社 2003.[8] 謝淑如 鄭光欽 楊渝生 《Protel PCB 99SE電路版設(shè)計(jì)》 清華大學(xué)出版社[9] 何立民 《單片機(jī)應(yīng)用技術(shù)選編》 北京航空航天大學(xué)出版社,[10] 段九洲 《放大電路實(shí)用設(shè)計(jì)手冊(cè)》 遼寧科學(xué)技術(shù)出版社,[11] 李炎清 《畢業(yè)論文寫作與范例》 廈門大學(xué)出版社 [12] 《Based on 89c51+DS18B20 warm controlling development》[13] 《The principle and application of 1wire digital temperature sensor DS18B20》[14] 《Temperature Measure System Base on 51 Single Chip》 附錄一 電路原理圖1. 數(shù)據(jù)采集模塊2.?dāng)?shù)據(jù)接收模塊附錄二 系統(tǒng)主程序 1.?dāng)?shù)據(jù)采集模塊源程序/********************************************************************************************************//程序功能:DS18B20讀取溫度********************************************************************************************************/include include define uchar unsigned chardefine uint unsigned intuchar co
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1