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

正文內(nèi)容

火災(zāi)自動報警與消防控制系統(tǒng)設(shè)計畢業(yè)論文(參考版)

2025-07-01 00:55本頁面
  

【正文】 LED4 = ON。\r\n)。 mydelay(1000)。 mydelay(1000)。 mydelay(1000)。 if(S1==0) { delay(10)。 LED3 = ON。 uart_send_string(STRING_1,3)。 uart_send_string_with_zero(BEST:B301)。 uart_send_string_with_zero(AT+CMGS=\15620608920\\r\n)。 uart_send_string_with_zero(AT+CSCA=\+8613800220500\\r\n)。 if(S2==0) { uart_send_string_with_zero(AT+CMGF=1\r\n)。 } } } //安防報警部分程序 if(S2==0) { delay(100)。 mydelay(1000)。 mydelay(1000)。 mydelay(1000)。 mydelay(1000)。 mydelay(1000)。 if(S4==0) { delay(10)。 delay(4000)。 delay(4000)。 delay(4000)。 delay(4000)。 delay(4000)。 delay(4000)。 delay(4000)。 delay(4000)。 LED7 = OFF。 LED3 = OFF。 if(S3==0) { LED1 = OFF。 LED7 = OFF while(1) { //雨水傳感器部分程序 if(S3==0) { delay(10)。 LED3 = OFF。 LED1 = OFF。 uart_init()。 //開啟顯示屏,不顯示光標(biāo),光標(biāo)所在(顯示開/關(guān)控制) lcd1602_write_cmd(0x01)。 //輸入模式為,字符不動,光標(biāo)右移(設(shè)置輸入模式) lcd1602_write_cmd(0x38)。 lcd1602_write_char(data)。 lcd1602_write_string(string)。 //0xc0表示DDRAM地址設(shè)置(第2行從40H開始,DB7位為“0”) lcd1602_write_cmd(address)。 if(line == 1) address = 0x80 + column。 s++。\039。 lcd_1602_delay(5)。 _pe = data。 //寫數(shù)據(jù)模式 RW = 0。}void lcd_1602_delay(unsigned int x) //延遲函數(shù){ while(x) _delay(100)。 E=0。 E=1。 }void lcd1602_write_cmd(unsigned char cmd) //寫指令{ RS=0。 } _xpf=0。 if(==1) { uart_write_reg(WriteFIFO,chr)。 _mf2f=0。 i++。 if(==1) { uart_write_reg(WriteFIFO,*(string+i))。 // 發(fā)送數(shù)據(jù)緩存器中的字符串,該字符串以NULL結(jié)尾 while(1) { if(*(string+i)==0){ break。 if(j=len){ break。 } _xpf=0。 } j++。 break。 break。 break。 break。 break。 // 發(fā)送定義好的字符串 while(1){ = uart_read_reg((uchar)ReadUSR)。 _mf2f=0。 j++。 if(==1) { uart_write_reg(WriteFIFO,uart_send_buf[j])。break。 // 發(fā)送數(shù)據(jù)緩存器中的字符串,該字符串以NULL結(jié)尾 while(1) { if(uart_send_buf[j]==0){ j=0x00。 return val。 _trf=0。 } while(!_trf)。 while(_wcol==1) { _wcol=0。 _trf=0。 _simd=Command。 //寫數(shù)據(jù)至數(shù)據(jù)寄存器 _simd=Command。 // 1 使能 _csen=1。 _csen=0。 } while(!_trf)。 while(_wcol==1) { _wcol=0。 _trf=0。 _simd=Command。 //寫數(shù)據(jù)至數(shù)據(jù)寄存器 _simd=Command。 // 1: 使能 _csen=1。 _sime = 0。 _xpe=1。 _xpf=0。 uart_receive_t=0。 // baud rate 9600 by BRGH=1 and Fosc= 3579545 uart_write_reg((uchar)WriteBRG,(uchar)0x16)。 // UART reset uart_write_reg((uchar)WriteUCR3,(uchar)0x80)。 // 對應(yīng)的位名稱:D7 D6 CKPOLB CKEG MLS CSEN WCOL TRF _simc2 =0x08。}void uart_init(void){ uchar tmp=0xFF。 } } else{ uart_receive_t=0。 uart_receive_t=0。){ uart_receive_buf[uart_receive_t] = val。 } } else if(uart_receive_t==2) { if(val == 39。 uart_receive_t++。i39。 uart_receive_t++。H39。 uart_receive_buf[uart_receive_t] = val。 } // 檢查中斷標(biāo)志和中斷接收標(biāo)志 if(( == 1) amp。 // 上一個串行口命令處理完否 if(uart_cmd){ _emi = 1。 // 檢查外圍中斷標(biāo)志 if(_xpf) { _xpf=0。 _emi =0。}Register。 uchar perr :1。 uchar ferr :1。 uchar ridle :1。 uchar tidle :1。union { uchar usr。const uchar string_exit[]=EXIT\n\r。const uchar string_ok[]=OK\n\r。uchar uart_receive_t。uchar uart_send_buf[10]。//include pragma rambank0bit temp_setting。 _pcpu6 = 1。 _pcc6 = 1。 _pf = 0xFF。 // set buzzer control port to output _pcc0 = 0。 //按鍵(pa4~pa7)加上拉電阻 _papu = 0xf0。 //置pa4~pa7為輸入狀態(tài),pa0~pa3為輸出狀態(tài) _pac = 0xf0。 //pb口全部設(shè)置為輸出模式 _pbc = 0x00。 //屏蔽pa0、papa3的比較器0的輸入/出功能 _cp0c = 0x00。 //TMTM3(定時器)除能 _tmpc1 = 0x00。 while(x) _delay(100)。// software delay function void delay(ulong x){ while(x) _delay(120)。LED4=0。LED2=0。LED4=0。LED2=0。LED4=0。LED2=1。LED4=1。LED2=1。LED4=1。LED2=0。LED4=1。LED2=0。LED4=1。LED2=0。LED4=1。LED2=1。[18] :西安理工大學(xué),2009.[19] 孫健. 基于ARM7的電氣火災(zāi)自動報警控制器研制:浙江大學(xué),2007.[20] 雍靜,李北海,〔M〕.北京:科學(xué)出版社,2008. [21] 王忠民, 郝靜, . [22] ,A .Coping. A simulation model for studying the implementation of performancebased fire safety design in buildings [J].Automations in Construction,1998,17(7):852~ 863. [23] ,. Intelligent building research:a review [J].Automation in Construction,2005,14 (l):143~159.[24] 張向亮. 智能建筑火災(zāi)自動報警系統(tǒng)的設(shè)計與研究:武漢理工大學(xué),2010. [25] Vaughn Bradshaw. The Building Environment: Active and Passive Control systems[M].John Wiley amp。大學(xué)的生活豐富而又多彩,大學(xué)的時光短暫而又美好,大學(xué)的學(xué)習(xí)艱苦而倍感快樂,大學(xué)四年的時光轉(zhuǎn)瞬即逝,給我們留下了美好的回憶,在這里我學(xué)到了專業(yè)知識,學(xué)會了與人交流,結(jié)實(shí)了許多好朋友和老師們,感謝我的母校天津城建大學(xué),給我提供學(xué)習(xí)和生活的空間,真心希望它的明天會更加美好!參考文獻(xiàn)參考文獻(xiàn)[1] :西安理工大學(xué),2009.[2] 孫健. 基于ARM7的電氣火災(zāi)自動報警控制器研制:浙江大學(xué),2007.[3] 雍靜,李北海,〔M〕.北京:科學(xué)出版社,2008. [4] 王忠民, 郝靜, 院. [5] ,A .Coping. A simulation model for studying the implementation of p
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1