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

正文內(nèi)容

畢業(yè)設(shè)計(jì)-基于at89s51單片機(jī)的智能洗衣控制系統(tǒng)(參考版)

2025-01-19 22:12本頁(yè)面
  

【正文】 i5。039。 i3。c39。 a[3]=0xdf。 //取得整數(shù)值到數(shù)組 a[1]=(wdz%100)/10。 a[0]=39。 void wdszStr( unsigned char *str) { unsigned char a[5]。\039。 str++。 i5。039。 i3。c39。 a[3]=0xdf。 //取得整數(shù)值到數(shù)組 a[1]=(t%100)/10。 a[0]=39。 char i, t。 } unsigned char tep[10]。 } //加入有效的數(shù)字 *str=39。 i++) 3030 30 { *str=a[i]。 } for(i=0。 i++) //轉(zhuǎn)成 ASCII碼 {if (i!=2) a[i]=a[i]+39。 for(i=0。 a[3]=second/10。:39。 //取得整數(shù)值到數(shù)組 a[1]=minite%10 。 char i。 } } unsigned char TempBuffer[10]。) { LCD_Write(LCD_DATA,*str)。 } void Print(unsigned char *str) { while(*str!=39。 //AC 遞增 , 畫(huà)面不動(dòng) } void GotoXY(unsigned char x, unsigned char y) { if(y==0) LCD_Write(LCD_COMMAND,0x80|x)。 //開(kāi)啟顯示 , 無(wú)光標(biāo) LCD_Write(LCD_COMMAND,0x01)。 //8 位數(shù)據(jù)端口 ,2行顯示 ,5*7點(diǎn)陣 LCD_Write(LCD_COMMAND,0x38)。 } //初始化 LCD***************************************************************** void LCD_Initial() { LcdEn=0。 //_nop_()。 //_nop_()。 //_nop_()。 //_nop_()。 2929 29 LcdRs=style。 return DBPort。 //_nop_()。 //_nop_()。 } } //LCD 顯示 ************************************************************** unsigned char LCD_Wait(void) { LcdRs=0。 if((biao==3)||(biao==4)||(biao==5))disp()。 if(flag)TR1=0。 else P2_7=0。 dingshi()。ba=1。san=1。 if(sec30==30)flag=1。 bafen++。 if(count==20) { count=0。 TL1=(6553650000)%256。 2828 28 count++。 EA=1。 TR1=1。 TH1=(6553650000)/256。baojing()。 EA=0。 GotoXY(0,1)。 GotoXY(0,0)。(minite==0)) { P3=0。 while((second=5)amp。 while(minite=0) { disp()。 GotoXY(0,1)。 GotoXY(0,0)。 P3_0=0。 { paishui()。 水閘 。(minite=5))//排水 。} } while((minite=0)amp。 2727 27 while(minite5) {disp()。 P3_0=0。 GotoXY(0,1)。 GotoXY(0,0)。(minite=12)) { paishui()。} } while((minite5)amp。 while(minite12) {disp()。} P3_0=0。i++) {disp()。 for(i=0。} P3_0=1。i++) {disp()。 for(i=0。 P3_0=0。 daojishi()。 GotoXY(0,1)。 while(minite12) // 洗衣服電機(jī) 洗衣服電機(jī) { GotoXY(0,0)。 } } //自動(dòng)洗兩次 ******************************************************* void twotime(void) { unsigned char i。 jiashui()。getkey()。 P3_1=0。getkey()。i100。 P3_1=1。getkey()。i100。 P3_1=0。disp()。i100。 P3_1=1。 disp()。 Print(time: )。 Print(wash three times)。 minite=24。 else P3_0=0。 } //************************************ void manxi(void) { daojishi()。 } P3_6=0。su=0。 display()。 dingshi()。 Print(to: )。 Print(from: )。 jiashui()。TR1=0。if(san)baojing()。 while(P2_4==1||P2_3==1) { su=0。 Print(zai pai shui )。 Print(xi tong zheng )。 { P3=0。 加水閘 。 } //*********************************************************************************** void paishui(void)//排水 縋 檢測(cè)水滿 。 } P2_5=0。 P2_5=1。 dingshi()。 GotoXY(0,1)。 GotoXY(0,0)。// 排水閘 。else disp()。 2424 24 while(1) {getkey()。 P2=jc1。P3_4=0。} } while(su==3) { P3_2=0。 P2=0。 TR0=0。 jc1=P2。P3_3=1。baojing()。 Print(keyi xiyi le )。 Print(jia wen jie su)。 P3_6=0。baojing()。GotoXY(0,1)。P3_0=0。amp。 getkey()。 while(1) { disp()。 GotoXY(0,1)。 if(biao==3)Print( kuai xi yi ci )。P3_0=1。 daojishi()。 else twotime()。} while((biao==1)||(biao==2)) { jiawen()。 } //************************************************************************* void sure(void) { while(su==1) { if(biao==0){su=0。 wdz。 if(minite==60) minite=0。 } //************************************************************ void jia(void) { minite++。 Print(to: )。 Print(from: )。TR1=0。P3_3=0。 biao=5。 GotoXY(0,1)。 GotoXY(0,0)。 minite=7。P3_4=0。 } void distuoshui(void) { P3_2=0。 Print(time: )。 Print( man xi yi ci )。 minite=8。P3_4=0。 } void dismxi(void) { P3_2=1。 Print(time: )。 Print( kuai xi yi ci )。 minite=8。P3_4=1。 } void diskxi(void) { P3_2=0。 Print( wash two times )。 Print(system will auto)。TR1=0。P3_3=0。 biao=1。 GotoXY(0,1)。 GotoXY(0,0)。P3_4=1。 } } 2121 21 //**************************************************** void disauto3(void) { P3_2=0。//確定鍵和暫停 default :break。sure()。//減 case 0x08 :su++。//加 case 0x07 :jian()。 //加溫 case 0x06 :jia()。//脫水 case 0x05 :if(su==0)disjiare()。//慢速洗一次 case 0x04 :if(su==0)distuoshui()。//快速洗一次 case 0x03 :if(su==0)dismxi() 。//自動(dòng)洗 2次加脫水 case 0x02 :if(su==0)diskxi()。//自動(dòng)洗 3次加脫水 case 0x01 :if(su==0)disauto2()。 switch(key) { case 0x00 :if(su==0)disauto3()。 P1=k。 default: break。 case 0x18: key=3*c+2。 case 0x28: key=3*c+1。 switch(s) { case 0x30: key=3*c+0。c++) { s=P1amp。 for(c=0。 while(1) { if(pkey()==1) { P1=0x3e。 } 2020 20 else return 0。 if(P1!=0x38) return 1。 //~ 接行, ~~~ 接列。 } void delay(unsigned int i)//延時(shí)函數(shù) { while(i)。j120。icount。 } } //************************************************************************ void Delay1ms
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1