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

正文內(nèi)容

基于單片機(jī)的電子密碼鎖課程設(shè)計(jì)說明書-wenkub.com

2025-06-24 19:44 本頁面
   

【正文】 case 0x48:yonghu()。key!=0x84)。 }while(key!=0x18amp。 display(2,2,取消操作請(qǐng)按C)。 }while(key!=0x88)。 while(1) { lcdset()。 for(i=0。void main(void){ uchar i。} 附錄N: 密碼鎖主函數(shù) /**************************密碼鎖主函數(shù)***************************/include include include include include define uint unsigned intdefine uchar unsigned charsbit BEEP=P3^3。 }while(key!=0x48)。 } } else { lcdset()。key!=0x84)。 display(4,1,修改密碼請(qǐng)按*)。(tab[5]==i2c[5])) { lcdset()。(tab[3]==i2c[3])amp。(tab[1]==i2c[1])amp。 display(4,3,確認(rèn)請(qǐng)按P.)。 }while(key!=0x84)。 } else { lcdset()。 display(3,2,感謝您的使用!)。j++) { write_byte(j,i2c[j])。i2c[4]=buf[4]。tab[5]==buf[5]) { i2c[0]=buf[0]。tab[3]==buf[3]amp。tab[1]==buf[1]amp。 display(4,3,確認(rèn)請(qǐng)按P.)。buf[4]=tab[4]。 //將修改密碼存入緩存數(shù)組 buf[0]=tab[0]。 lcdset()。 key=keyscan()。 }while(key!=0x84)。tab[5]==0x36) { lcdset()。tab[3]==0x34amp。tab[1]==0x32amp。 display(4,3,確認(rèn)請(qǐng)按P.)。 //循環(huán)左移一位 P2=0xff。num++) { P2=temp。 }/*********************報(bào)警流水燈流水程序*************************/void baojing(){ uchar temp,num。 } r++。 case 0x24:f=0x38。 case 0x42:f=0x36。 case 0x12:f=0x34。 case 0x21:f=0x32。(key==0x28||key==0x11||key==0x21||key==0x41||key==0x12||key==0x22||key==0x42||key==0x14||key==0x24||key==0x44)) { switch(key) { case 0x28:f=0x30。 writedata(0x2a)。 case 0x44:e=0x39。 case 0x14:e=0x37。 case 0x22:e=0x35。 case 0x41:e=0x33。 case 0x11:e=0x31。 } if(r==4amp。 } r++。 case 0x24:d=0x38。 case 0x42:d=0x36。 case 0x12:d=0x34。 case 0x21:d=0x32。(key==0x28||key==0x11||key==0x21||key==0x41||key==0x12||key==0x22||key==0x42||key==0x14||key==0x24||key==0x44)) { switch(key) { case 0x28:d=0x30。 writedata(0x2a)。 case 0x44:c=0x39。 case 0x14:c=0x37。 case 0x22:c=0x35。 case 0x41:c=0x33。 case 0x11:c=0x31。 } if(r==2amp。 } r++。 case 0x24:b=0x38。 case 0x42:b=0x36。 case 0x12:b=0x34。 case 0x21:b=0x32。(key==0x28||key==0x11||key==0x21||key==0x41||key==0x12||key==0x22||key==0x42||key==0x14||key==0x24||key==0x44)) { switch(key) { case 0x28:b=0x30。 writedata(0x2a)。break。break。break。break。break。amp。 //行掃描碼左移1位 } } } return (0)。0xf0)|0x0f。 while((scanamp。 //發(fā)全行0掃描碼 if((P1amp。 SDA=1。 for(i = 0。 send(OP_WRITE)。 read_data = read()。 delayms(10)。 send(OP_WRITE)。 ack_bit = SDA。 _nop_()。 } SDA = 1。 _nop_()。 i++) // 循環(huán)移入8個(gè)位 { SDA = (bit)(write_data amp。}/*******************從單片機(jī)移出數(shù)據(jù)到AT24C02********************/bit send(uchar write_data){ uchar i。 read_data = 1。}/*******************從AT24C02移入數(shù)據(jù)到單片機(jī)********************/uchar read() { uchar i,read_data。 _nop_()。 _nop_()。 _nop_()。 _nop_()。 i++)。sbit SCL = P3^7。break。 break。 //顯示開,光標(biāo)關(guān),反白關(guān) writemand(0x06)。}/*************************液晶設(shè)置函數(shù)****************************/void lcdset(void){ writemand(0x30)。 rw=0。 P0=mand。}/************************液晶寫命令函數(shù)**************************/void writemand(uchar mand){ delay(100)。 參考文獻(xiàn)[1] [M],北京:北京航空航天大學(xué)出版社,2007 Ma Zhongmei. microcontroller C programming [M], Beijing: Beijing Aerospace University Press, 2007[2] [M],北京:北京航空航天大學(xué)出版社,2007 Li Guangdi. microcontroller based on [M], Beijing: Beijing Aerospace University Press, 2007[3] [M],北京:電子工業(yè)出版社,.Cao Theory and Applications [M], Beijing: Electronic Industry Press, .[4] ,單片機(jī)應(yīng)用技術(shù)教程[M],北京:清華大學(xué)出版社,.Zhang Hongrun ,Lan Qinghua, MCU application technology tutorial [M], Beijing: Tsinghua University Press, .[5] 模擬部分(第五版) [M].北京:高等教育出版社,2006kang uh guano. Electronic technology foundation simulation part (fifth edition) [M]. Beijing: higher education press, 2006[6] (第五版) [M].北京:高等教育出版社,2006YanShi, digital electronic technology foundation (fifth edition) [M]. Beijing: higher education press, 2006[7] (第五版) [M].北京:高等教育出版社,2006QiuGuangYuan. Circuit (fifth edition) [M]. Beijing: higher education press, 2006 附 錄附錄A: PROTEL原理圖 附錄B: CAD原理圖 附錄C: 電路頂層PCB圖 附錄D: 電路底層PCB圖
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1