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

正文內(nèi)容

智能教學(xué)樓電子創(chuàng)新設(shè)計(jì)大賽論文(參考版)

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

【正文】 endif 。 void led()。 sbit light=P2^6。 //點(diǎn)亮 口燈 delay(10000)。amp。(voice==0)) { delay(100)。 if((light==1)amp。j)。i) for(j=110。 for(i=z。 void delay1(uint z)。 sbit led3=P1^0。 if(fog==1) led3=1。 if(fog==0) led3=0。y)。x) for(y=110。 for(x=z。 tq()。 endif 21 include include include void main() { while(1) { led()。 /*LCD1602 寫入 8 位數(shù)據(jù)子函數(shù) */ void LcdWriteData(uchar dat) 。 /********************************** 函數(shù)聲明 **********************************/ /*在 51 單片機(jī) 12MHZ 時(shí)鐘下的延時(shí)函數(shù) */ void Lcd1602_Delay1ms(uint c)。 sbit LCD1602_RW=P2^1。 LcdWriteCom(0x80)。 LcdWriteCom(0x06)。 LcdWriteCom(0x28)。 LcdWriteCom(0x80)。 LcdWriteCom(0x06)。 } endif ifndef LCD1602_4PINS void LcdInit() //LCD 初始化子程序 { LcdWriteCom(0x38)。 //寫入時(shí)序 Lcd1602_Delay1ms(5)。 //寫入低四位 Lcd1602_Delay1ms(1)。 LCD1602_E = 0。 LCD1602_E = 1。 LCD1602_DATAPINS = dat。 LCD1602_RS = 1。 LCD1602_E = 0。 LCD1602_E = 1。 LCD1602_DATAPINS = dat。 LCD1602_RS = 1。 LCD1602_E = 0。 LCD1602_E = 1。 LCD1602_DATAPINS = 4。 Lcd1602_Delay1ms(5)。 //由于 4 位的接線是接到 P0 口的高四位,所以傳送高四位不用改 Lcd1602_Delay1ms(1)。 LCD1602_RW = 0。 } else 18 void LcdWriteCom(uchar ) { LCD1602_E = 0。 Lcd1602_Delay1ms(5)。 Lcd1602_Delay1ms(1)。 LCD1602_RW = 0。 } } } ifndef LCD1602_4PINS //當(dāng)沒(méi)有定義這個(gè) LCD1602_4PINS 時(shí) void LcdWriteCom(uchar ) //寫入一個(gè)字節(jié)命令 { LCD1602_E = 0。a0。b0。 c0。 endif include void Lcd1602_Delay1ms(uint c) //延時(shí) { uchar a,b。 void Ds18b20ReadTempCom()。 unsigned char Ds18b20ReadByte()。 unsigned char Ds18b20Init()。 } ifndef __TEMP_H_ 17 define __TEMP_H_ include sbit DSPORT=P3^0。 temp|=tml。 temp=tmh。 tml=Ds18b20ReadByte()。 Ds18b20ChangTemp()。 } int Ds18b20ReadTemp() //讀取溫度 { int temp=0。 Ds18b20WriteByte(0xcc)。 } void Ds18b20ReadTempCom() //讀取溫度命令 { Ds18b20Init()。 Ds18b20WriteByte(0xcc)。 } void Ds18b20ChangTemp() //溫度轉(zhuǎn)換 { Ds18b20Init()。 while(i)。 byte=(byte1)|(bi7)。 i++。 DSPORT=1。j) { DSPORT=0。 16 for(j=8。 } } unsigned char Ds18b20ReadByte() { unsigned char byte,bi。 DSPORT=1。 i=6。 DSPORT=datamp。j++) { DSPORT=0。 for(j=0。//失敗 } return 1。 while(DSPORT) { i++。 DSPORT=1。 i=70。 } unsigned char Ds18b20Init() //初始化 { unsigned int i。x0。y0。 } include void Delay1ms(unsigned int y) //延時(shí) { unsigned int x。39。 LcdWriteCom(0xc6)。039。 LcdWriteCom(0xc5)。.39。 LcdWriteCom(0xc4)。039。 LcdWriteCom(0xc3)。039。 LcdWriteCom(0xc2)。039。 LcdWriteCom(0xc1)。N39。 LcdWriteCom(0x85)。A39。 LcdWriteCom(0x84)。 39。)。 LcdWriteData(39。)。 LcdWriteData(39。)。 LcdWriteData(39。 else beep=1。amp。 Lcd1602_Delay1ms(5)。 Lcd1602_Delay1ms(5)。amp。+datas1[2])。 LcdWriteData(39。+datas1[1])。 LcdWriteData(39。+datas1[0])。 14 LcdWriteData(39。)。 LcdWriteData(39。)。 LcdWriteData(39。 datas1[2] = tt % 10。 } datas1[0] = tt / 100。)。 LcdWriteData(39。 tt=th。39。 if(th 0) { LcdWriteCom(0x89)。
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1