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

正文內(nèi)容

電子系統(tǒng)課程設(shè)計(jì)-資料下載頁

2025-01-17 00:39本頁面
  

【正文】 1]=11。} if(t2!=3||wss==0) { table5[2]=s3。 } else { table5[2]=11。} if(t2!=4||wss==0) { table5[3]=s4。 } else {table5[3]=11。} table5[4]=12。switch(t2){case 1:table5[1]=10。table5[2]=10。table5[3]=10。 break。case 2:table5[0]=13。table5[2]=10。table5[3]=10。 break。case 3:table5[0]=13。table5[1]=13。table5[3]=10。 break。case 4:table5[0]=13。table5[1]=13。table5[2]=13。 break。case 5:table5[0]=13。table5[1]=13。table5[2]=13。table5[3]=13。 break。} j=0x7f。 for(i=0。i=4。i++) { P2=j。 P0=table[table5[i]]。delay(10)。 j=_cror_(j,1)。 } }//**************功能選擇界面 1******************void displayxz(){ uchar i,j。 j=0x7f。 for(i=0。i=7。i++) //從秒到時(shí)的掃描 { P2=j。 P0=table6[i]。 //顯示數(shù)值 delay(10)。 j=_cror_(j,1)。 //循環(huán)右移 }}//***************功能選擇界面 2****************//void display6() { uchar i,j。 if(t3!=1||wss==0) { table6[0]=1。 table6[1]=13。 } else { table6[0]=table6[1]=11。} if(t3!=2||wss==0) { table6[3]=2。 table6[4]=13。 }else { table6[3]=table6[4]=11。}if(t3!=3||wss==0) { table6[6]=3。 table6[7]=13。 }else { table6[6]=table6[7]=11。} table6[2]=table6[5]=10。 j=0x7f。 for(i=0。i=7。i++) { P2=j。 P0=table[table6[i]]。delay(10)。 j=_cror_(j,1)。 } }//**************************鍵盤掃描子函數(shù)************************////*****************密碼輸入********void key_scan2() { if(key1==0) { while(!key1) //防止掉顯 { if(t2==1||t2==2||t2==3||t2==4||t2==5) { display5()。 } if(t2==0) { display4()。 } } t2++。 //記下按鍵 key1 按下的次數(shù) if(t2==6) { t2=1。} } if(key2==0) //判斷 key2 是否按下 { while(!key2) //防止掉顯 { if(t2==1||t2==2||t2==3||t2==4||t2==5) { display5()。 } if(t2==0) { display4()。 } } jia1()。 } if(key3==0) //判斷 key3 是否按下 { while(!key3) //防止掉顯 { if(t2==1||t2==2||t2==3||t2==4||t2==5) { display5()。 } if(t2==0) { display4()。 } } jian1()。 //調(diào)用減 1 子函數(shù) } if(key4==0) //判斷 key4 是否按下 {while(!key4) //防止掉 { if(t2==1||t2==2||t2==3||t2==4||t2==5) { display5()。 }if(t2==0) { display4()。 } } confirm()。 //比較密碼是否正確 } }//**************************功能選擇鍵盤掃描子函數(shù)************************//void key_scan1() { if(key1==0) { while(!key1) //防止掉顯 { if(t3==1||t3==2||t3==3) { display6()。 } if(t3==0) { displayxz()。 } } t3++。 //記下按鍵 key1 按下的次數(shù) if(t3==4) { t3=1。} } if(key4==0) 29//判斷 key4 是否按下 {while(!key4) //防止掉 { if(t3==1||t3==2||t3==3) { display6()。 }if(t3==0) { displayxz()。 } } if(t3==1) //進(jìn)入電子時(shí)鐘 { shizhong()。 } if(t3==2) //進(jìn)去秒表 { TR0=0。miaobiao()。 } } }//****************************加 1 子函數(shù)***************************void jia1() { if(t2==1) //判斷 key1 按下的次數(shù)是否為 1 { s1++。 //是,則秒加 1 if(s19) //判斷秒是否大于 60,是,則秒清零 s1=0。 } if(t2==2) //以下含意同上 { s2++。 if(s29) s2=0。 } if(t2==3) { s3++。 if(s39) s3=0。 } if(t2==4) { s4++。 if(s49) s4=0。 } }//***************************減 1 子函數(shù)**************************//void jian1() { if(t2==1)//判斷 key1 按下的次數(shù)是否為 1,是則秒減 1 { s1。 if(s1==255) //判斷秒是否減到 255,是,則秒置59 s1=9。 } if(t2==2)//以下含意同上 { s2。 if(s2==255) s2=9。 } if(t2==3) { s3。 if(s3==255) s3=9。 } if(t2==4) { s4。 if(s4==255) s4=9。 } } //***********************時(shí)間子函數(shù) *****************************//void shijian1() { if(flag=20) //判斷是否到一秒 { wss=~wss。 flag=0。 //到了,則標(biāo)志位清零 } }//*****************************秒表***********************void display7(uchar minute,uchar second, uchar second0_1) { P2=0x7f。 //送位選數(shù)據(jù)P0=table[second0_1]。 //送段選數(shù)據(jù) delay(5)。 //延時(shí) P2=0xbf。 //送位選數(shù)據(jù)P0=table[second%10]。 //送段選數(shù)據(jù) delay(5)。 P2=0xbf。 //送位選數(shù)據(jù)P0=table[14]。 //送段選數(shù)據(jù) delay(5)。 P2=0xdf。 //送位選數(shù)據(jù)P0=table[second/10]。 //送段選數(shù)據(jù) delay(5)。 P2=0xef。 P0=table[10]。 //送段選數(shù)據(jù) delay(5)。 //延時(shí) P2=0xf7。 //送位選數(shù)據(jù)P0=table[minute]。 //送段選數(shù)據(jù) delay(5)。 P2=0xfb。 //送位選數(shù)據(jù)P0=table[0]。 //送段選數(shù)據(jù) delay(5)。 } //*****************************************************void keyscan4() { if(key1==0) //清零 { delay(10)。 //延時(shí)去抖 if(key1==0) { while(!key1) //等待按下 { TR0=0。 //定時(shí)器 TR0 關(guān)閉 minute=0。 second=0。 second0_1=0。 } } } if(key2==0) //暫停和開始 { delay(10)。 if(key2==0) { while(!key2)。TR0=~TR0。 //每次按下,TR1 的狀態(tài)時(shí)相反的} } if(key4==0){ while(!key4) { while(key4)//進(jìn)入選擇 { TR0=1。 if(t3==1||t3==2||t3==3) { display6()。 } if(t3==0) { displayxz()。 }shijian1()。key_scan1()。 } }
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1