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

正文內(nèi)容

【畢業(yè)論文】基于單片機的門禁控制系統(tǒng)設(shè)計(word檔)-資料下載頁

2025-05-07 19:53本頁面
  

【正文】 { P1 = Buffer[j]。 temp = 0x10。 for(i=0。 i4。 i++) { if(!(P1 amp。 temp)) { return (i+j*4)。 } temp = 1。 } } } void sound(int number) { int i。 number = number 0x30。 基于單片機的門禁控制系統(tǒng)設(shè)計 30 for (i=0。 i125。 i++) { sounder = 1。 delaym(number)。 sounder = 0。 } } /******************************************************************** * 名稱 : KeyInput() * 功能 : 外部中斷 2 的服務(wù)程序 * 輸入 : 無 * 輸出 : 無 ***********************************************************************/ void KeyInput(void) interrupt 2 { EA = 0。 if (light == 1) { back = 1。 if (re==0) { InputPassword[input++] = Keyscan() + 48。 sound(InputPassword[input1])。 } else { Password[input++] = Keyscan() + 48。 if (input == MAX) { re =0。 flag = 1。 L1602_init()。 L1602_string(1,1,successfully!)。 delay1ms(1000)。 L1602_init()。 delay1ms(1000)。 L1602_string(1,1,successfully!)。 delay1ms(1000)。 L1602_init()。 delay1ms(1000)。 L1602_string(1,1,successfully!)。 delay1ms(2021)。 基于單片機的門禁控制系統(tǒng)設(shè)計 31 input = 0。 delay1ms(1000)。 } } if (input !=MAX) { L1602_init()。 L1602_string(1,1,Enter Password)。 for (display=0。 displayinput。 display++) { L1602_char(2,display+1,39。*39。)。 } } } else { back = 0。 } P1 = 0x0f。 EA = 1。 } /******************************************************************** * 名稱 : PasswordReset() * 功能 : 外部中斷 0 的服務(wù)程序 * 輸入 : 無 * 輸出 : 無 ***********************************************************************/ void PasswordReset(void) interrupt 0 { if (light == 1) { back = 1。 L1602_init()。 L1602_string(1,1, Please,Enter )。 L1602_string(2,1, new password)。 re = 1。 } else 基于單片機的門禁控制系統(tǒng)設(shè)計 32 { back = 0。 } } main() //main { Outside_Init()。 EA = 0。 P1 = 0x0f。 back = 0。 control = 0。 while (1) { if (light == 0) { control = 0。 EA = 0。 } else { control = 1。 EA = 1。 while(1)//while2 { L1602_init()。 L1602_string(1,1, Enter Password )。 L1602_char(2,3,chance)。 L1602_string(2,4, chances )。 EA = 1。 while(1) { //while3 if (flag == 1) { flag = 0。 break。 } if (input == MAX )//if1 基于單片機的門禁控制系統(tǒng)設(shè)計 33 { EA = 0。 if (Judge()) //if3 { L1602_init()。 L1602_string(1,1, correct )。 L1602_string(2,1, Wele )。 chance = 39。339。 input = 0。 delay1ms(2021)。 }//if3 else { L1602_init()。 L1602_string(1,1,Password error)。 delay1ms(2021)。 chance。 if (chance == 39。039。)//if4 { L1602_init()。 L1602_string(1,1,KEYBOARD LOCKED!)。 L1602_string(2,1,Super Password)。 input = 0。 EA = 1。 EX0 = 0。 while(1) { P1 = 0x0f。 if (input == MAX) { EA = 0。 if (JudgeSuper()) { input = 0。 chance = 39。339。 EX0 = 1。 break。 } else 基于單片機的門禁控制系統(tǒng)設(shè)計 34 { wcmd(0x01)。 L1602_string(1,1,error!)。 delay1ms(1000)。 wcmd(0x01)。 L1602_string(1,1,error!)。 delay1ms(1000)。 wcmd(0x01)。 L1602_string(1,1,KEYBOARD LOCKED!)。 L1602_string(2,1,Super Password)。 } EA = 1。 input = 0。 } } }//if4 } //else input = 0。 break。 } //if 1 }//while3 }//while2 } } } //main
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1