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

正文內(nèi)容

畢業(yè)設(shè)計-基于單片機stc89c52rc的模擬路燈控制系統(tǒng)設(shè)計(編輯修改稿)

2025-02-13 00:34 本頁面
 

【文章內(nèi)容簡介】 { uint x=0。 uchar y=0。 for( x=z。x0。x) for( y=120。y0。y )。 } /*顯示函數(shù) */ void display(uchar h,uchar m,uchar s) //顯示 { uchar n,j,temp =0x80/*選管最高位 */。 ulong num=s+m*1000+h*1000000。 for( j=0。j8。j++) { pb8255 = temp。 temp = _cror_(temp,1)。 n=num%10 。 if(j==2||j==5) pa8255=0x90。 else pa8255 = table[n]。 num=num/10。 delayms(5)。 pa8255=0x00。 } } void disdead(uchar h,uchar m,uchar s) //熄滅顯示 { uchar n,j,temp=0x80。 ulong num=s+m*1000+h*1000000。 for( j=0。j8。j++) {pb8255 = temp。 n=num%10 。 if(j==2||j==5) pa8255=0x00。 else pa8255 = table[n]。 num=num/10。 delayms(5)。 pa8255 = 0x00。 temp = _cror_(temp,1)。 } } void disdead1(uchar h,uchar m,uchar s,uchar wei1,uchar wei2) //調(diào)時熄滅顯示 { uchar n,j,temp=0x80。 ulong num=s+m*1000+h*1000000。 for( j=0。j8。j++) {pb8255 = temp。 n=num%10 。 if(j==wei1||j==wei2) //試驗 pa8255=0x00。 else if(j==2||j==5) pa8255=0x90。 else pa8255 = table[n]。 num=num/10。 delayms(5)。 pa8255 = 0x00。 temp = _cror_(temp,1)。 } } void dispdate(ulong y, uchar m, uchar d) //顯示年月日 { uchar n,j,temp =0x80/*選管最高位 */。 ulong num=d+m*100+y*10000。 for( j=0。j8。j++) { pb8255 = temp。 temp = _cror_(temp,1)。 n=num%10 。 pa8255 = table[n]。 num=num/10。 delayms(5)。 pa8255 = 0x00。 } } /******************/ uchar keyscan () //鍵盤掃描 { uchar temp,temp1。 temp=pc8255。 temp=tempamp。0xfe。 if(0xfe!=temp ) { delayms(10)。 temp=pc8255。 temp=tempamp。0xfe。 if (temp!=0xfe) { temp1=pc8255。 temp1=temp1amp。0xfe。 while(temp1!=0xfe) { if(temp1==0x7e) // 狀 dispdate(year,month,date)。 else { if (k3num==0) display(hour,minute,second)。 //可改變 else if(k3num==1) display(a1hour,a1minute,a1second)。 else if(k3num==2) display(a2hour,a2minute,a2second)。 else if(k3num==3) display(a3hour,a3minute,a3second)。 else if (k3num==4) display(b1hour,b1minute,b1second)。 else if (k3num==5) display(b2hour,b2minute,b2second)。 else if (k3num==6) display(b3hour,b3minute,b3second)。 // 態(tài) } // 機 //display(num1)。 // second++。 // display (second+minute*100+hour*1000)。 temp1=pc8255。 temp1=temp1amp。0xfe。 } } } return temp。 } void decrease(uchar *h,uchar *m,uchar *s) //減少數(shù)值 { switch (k2num) { case 1: (*s)。 if (*s==1) *s=59。 break。 case 2: (*m)。 if (*m==1) *m=59。 break。 case 3: (*h)。 if(*h==1) *h=23。 break。 } } void increase (uchar *h,uchar *m,uchar *s) //數(shù)值增加 { switch (k2num) { case 1: (*s)++。 if (*s==60) *s=0。 break。 case 2: (*m)++。 if (*m==60) *m=0。 break。 case 3: (*h)++。 if(*h==24) *h=0。 break。 } } uchar keydeal() //鍵值處理 { uchar temp, circle。 temp=keyscan()。 if (temp!=0xfe) {switch(temp) { case 0xfc: // decrease key1 switch(k3num) { case 0: decrease(amp。second,amp。minute,amp。hour)。 break。 case 1: decrease(amp。a1hour,amp。a1minute,amp。a1second)。 break。 case 2: decrease(amp。a2hour,amp。a2minute,amp。a2second)。 break。 case 3: decrease(amp。a3h
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1