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

正文內(nèi)容

課程設(shè)計(jì)---實(shí)用密碼鎖設(shè)計(jì)(文件)

2025-06-28 16:10 上一頁面

下一頁面
 

【正文】 p=1。i0。 } //*************************按鍵不按下,定時(shí) 30s*************************************** void time0() interrupt 1 { s++。 } 。 //復(fù)位 TH0=0x4c。j0。 ms=xms*1000。 beepp=0。beepp=1。 for(x=0。 xiugai=0。 if(i==1) xms=fen[0]。 lcd_string(tiao shi ok)。lcd_1_char(key)。 delay_lcd(7000)。 delay_lcd(100)。 for(p=0。zt=0。xiugai=0。tong=1。(newone[t]==newtwo[t] )。 for(t=0。tiao_shi()。q++。} } } if(new==2) //第二次輸入密碼 { lcd_locate(2,1)。q++。lcd_string(one:)。delay_lcd(3000)。delay_lcd(1000)。 for(nn=0。}// 是超級(jí)密碼 //zt=2 if(sure1==0amp。tong=1。}// 是超級(jí)密碼 // zt=2 if(sure2==1) {new=3。tong=1。//判斷超級(jí)密碼 if(sure1==1) {new=1。m6。m++) sure1=sure1amp。erro_sound()。} if(true==0) {i=0。zt=0。amp。 bit sure2=1。 zt=0。 disp_clok()。 errotime=0。 if(new==2) disp_two()。amp。 } if(i==6) psw_cmp()。key=9) {if(i==0) disp_input()。amp。} if(key!=88amp。 //密碼輸入處理函數(shù) if(zt==2) mima_xiugai()。 key_4x4_scan()。z++) //調(diào)用 24c02中的密碼 到 password {password[z]=read_add_24c02(z+1)。 lcd_string(2021 3 15)。 lcd_write_(0x01)。 //delay_lcd(100)。 //delay_lcd(100)。 //delay_lcd(100)。 TR0=1。 ET0=1。 //密碼錯(cuò)誤,提醒聲光 void open_relay()。 //輸入密碼比較 void sure_time()。 //先聲明密碼修改函數(shù) void clok_key(uint xms) 。 //定時(shí)所用的變量 //**************************************************** void daiji()。 //第一次輸入的新密碼時(shí)的指針變量 unsigned char p=0。 //密碼輸入錯(cuò)誤的次數(shù) unsigned char erronew=0。 //區(qū)分是 zt=1,還是 zt=2 unsigned char tong=0。 // 存輸入時(shí)的數(shù)值 unsigned char newone[]={0,0,0,0,0,0} 。 unsigned char password[]={0,0,0,0,0,0}。 四、 總結(jié) 在課程設(shè)計(jì)的過程中,沒有很好的完成老師的基本要求,在修改新密碼中,在輸入第六位密碼時(shí),想刪掉時(shí),刪到了第一位的密碼去了,是因?yàn)閿?shù)組指針在第六位時(shí),指針指向第一位了,到現(xiàn)在為止,沒有想出方法解決。 1 2 3 4 5 6 7 8 9 取消 0 確定 4x4鍵盤的按鍵分布 P 1 .0P 1 .1P 1 .2P 1 .3P 1 .4P 1 .5P 1 .6P 1 .7P 2 .0P 2 .1P 2 .2P 2 .3P 2 .4P 2 .5P 2 .6P 2 .7P 3 .0P 3 .1P 3 .2P 3 .3P 3 .4P 3 .5P 3 .6P 3 .7P 0 .0P 0 .1P 0 .2P 0 .3P 0 .4P 0 .5P 0 .6P 0 .7RS TP 2 .2P 2 .3P1.1P1.2P1.3P 1 .4P 1 .5P 1 .6P 1 .7P1.0P 2 .1P 2 .0X T A L 218X T A L 1
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1