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

正文內(nèi)容

低功耗溫濕度檢測儀的硬件設(shè)計畢業(yè)論文-閱讀頁

2025-07-12 12:19本頁面
  

【正文】 tion。 measure_menu[0].parent_menus=main1_menu。 measure_menu[1].display=qx。 measure_menu[1].children_menus=NULL。 }…… //還有void store_menu_initial()、void time_menu_initial()//void led_menu_pro() { max_item=menu_ledmenu_count。 case 1: //向上鍵. if(user_choosen==0) { user_choosen=max_item。 user_choosen。 }…… //“向上”“向下”“確認”“取消”鍵//if(shuaxin) //是否需要刷新LCD標(biāo)志位. { Clr_Scr()。 } led_menu_show()。 max_item=menu_ledmenu_count。n4。 } select_item(user_choosen)。 //“開始測量”數(shù)組// break。 } for(n=0。n++) { draw_bmp((n+1)*2,20,32,0,menu_led[n].display)。 } } void select_item(uchar n){ draw_bmp(n*2,2,16,0,curflag)。}……/*主函數(shù)*/main() { init_cpu()。 init_lcd()。delay(2000)。 Refresh()。 Clr_Scr()。 Clr_Scr()。 measure_menu_initial()。 time_menu_initial()。 while(1) { keyval=get_key()。} } // 適當(dāng)延時防止因為不斷查忙而耗費大量CUP資源 //附錄三 溫度采集程序include sbit warmer=P2^7。//sbit k_power=P3^3。sbit bai=P2^1。sbit ge=P2^3。sbit xs=P2^5。 //定義通信端口//延時函數(shù)unsigned char tab[]={ 0xc0,0xf9,0xa4,0xb0, // 0, 1, 2, 3 0x99,0x92,0x82,0xf8,0x80,0x90, 0xff}。unsigned char tflag。void delay(unsigned char i){ while(i)。 DQ = 1。 //稍做延時 DQ = 0。 //精確延時 大于 480us DQ = 1。 x=DQ。}//讀一個字節(jié)int ReadOneChar(void){unsigned char i=0。for (i=8。i) { DQ = 0。 DQ = 1。 delay(4)。}//寫一個字節(jié)void WriteOneChar(unsigned char dat){ unsigned char i=0。 i0。 DQ = datamp。 delay(5)。 dat=1。}//讀取溫度int ReadTemperature(void){ unsigned char a=0。 Init_DS18B20()。 // 跳過讀序號列號的操作 發(fā)送指令0xcc WriteOneChar(0x44)。 WriteOneChar(0xCC)。 //讀取溫度寄存器等(共可讀9個寄存器) 前兩個是溫度發(fā)送指令0xbe a=ReadOneChar()。 //讀取溫度值高位 t=b。 //值左移8位 //a=a4。 //高位左移4位,舍棄符號位 //t=t|a。 //合并高低位數(shù)值 if(t0x0fff) tflag=1。 t=~t+1。 //溫度擴大10倍,精確到1位小數(shù) return(t)。 //百位數(shù) disdata[1]=i%1000/100。 //個位數(shù) disdata[3]=i%10。 //正號,不顯示 else tflag=0xbf。 zf=0。 delay(150)。 zf=1。 if(disdata[0]0)P0=tab[disdata[0]]。 bai=1。 P0=tab[disdata[1]]。 shi=1。 P0=tab[disdata[2]]。 ge=1。 P0=0x7f。 dots=1。 P0=tab[disdata[3]]。 P0=0xff。}void main(void){ unsigned int temp。 display_temper(temp)。float l。 //159選通開關(guān)sbit ADCS =P3^1。 //ADC0832 k insbit ADDO =P3^3。 //ADC0832 clock signaluchar dsw[20]。 //點陣字符儲存uchar code table[]={ //字符查表0x00,0x00,0x00,0x30,0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*.,0*/……}。 for(i=0。i++) for(j=0。j++) 。 uchar j。 uchar ndat=0。 if(channel==1)channel=3。 _nop_()。 ADCS=0。 _nop_()。//拉高CLK端 _nop_()。 ADCLK=0。 _nop_()。//拉高CLK端 ADDI=channelamp。 _nop_()。 ADCLK=0。 _nop_()。//拉高CLK端 ADDI=(channel1)amp。 _nop_()。 ADCLK=0。//控制命令結(jié)束 _nop_()。 dat=0。i8。//收數(shù)據(jù) ADCLK=1。 _nop_()。//形成一次時鐘脈沖 _nop_()。 dat=1。 } for(i=0。i++) { j=0。//收數(shù)據(jù) ADCLK=1。 _nop_()。//形成一次時鐘脈沖 _nop_()。 j=j7。 if(i7)ndat=1。//拉低CS端 ADCLK=0。//拉高數(shù)據(jù)端,回到初始狀態(tài) dat=8。 return(dat)。i5。j16。 } } else { for(j=0。j++) //電壓符號V value[(i+1)*16+j]=table[12*16+j]。 } for(i=0。i++) //前16個和后21個消隱作用,不顯示 value[i]=0。i149。}void main() { unsigned int b=0,i,j。 while(1) { k=Adc0832(0)。 sprintf(dsw,%,l)。 j=0。 b+=2。 } } sw=1。i16。 { P1=i。 P2=value[j+b+1]。 P0=0x00。 j+=2。 for(i=0。i++) { P1=i。 P2=value[j+b+1]。 P0=0x00。 j+=2。 }}附錄五 英語文獻翻譯China39。s society, the important status and role。 control and measurement instrumentation development trends and characteristics, as well as instrumentation and measurement of China39。s world has entered the information age, information technology to promote science and technology to bee key technologies for highspeed development. Famous scientist Qian clearly pointed out that information technology, including measurement techniques, puter technology and munication technology. Measurement technology is the foundation. Academician Wang Daheng also repeatedly stressed that measurement technology is the source of information technology. Rapid development of information technology, resulting in a huge emerging information industry, information industry has bee a focal point of the leading world economic development industry. . Department of Commerce 1999 annual report on the part of the emerging digital economy, information industry, including puter hardware and software industries, munications equipment manufacturing and service industries, instrumentation industry. That is to say, information technology, measurement technology is the basis and source of information on the instrumentation industry is an important ponent of the industry. It goes without saying that the control and measurement instrumentation in today39。s industrial instrumentation countermeasures and suggestions, the research report . The report of the instrumentation in today39。s Congress that the country39。s control and measurement instrumentation has been developed rapidly. Second, the basic profiles Turning to the control and measurement instrumentation in the fundamental profile, should include two aspects, that is, disciplines and industries. Instrumentation is not a separate academic subject? The past has been controversial. Today, we can not hesitate to answer, instrumentation and measurement has been developed to control the formation of an independent academic integrity. The reason why draw such a conclusion, we have four good reasons. First, control and mea
點擊復(fù)制文檔內(nèi)容
電大資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1