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

正文內(nèi)容

基于單片機(jī)的6位電子密碼鎖設(shè)計(jì)-資料下載頁(yè)

2024-11-08 05:25本頁(yè)面

【導(dǎo)讀】本設(shè)計(jì)采用單片機(jī)為主控芯片,結(jié)合外圍電路組成電子密碼控制系統(tǒng)。突出,傳統(tǒng)的機(jī)械鎖由于構(gòu)造簡(jiǎn)單,被撬事件屢見(jiàn)不鮮。使用靈活性高,收到廣大用戶的青睞。采用采用蜂鳴器模擬報(bào)警系統(tǒng),增加。試結(jié)果表明,設(shè)計(jì)達(dá)到電子密碼鎖的功能。的文件檔案、財(cái)務(wù)報(bào)表以及一些個(gè)人資料的保存等多種場(chǎng)合使用。目前使用的密碼鎖種類繁多,各具特色。設(shè)置報(bào)警總時(shí)間為10S。P0口控制段選,P2口控制位選。

  

【正文】 TR0=1。 to=0。 D0=0。 a=b=c=d=e=f=0。 N=0。 km=0。 } if((a1!=a)||(b1!=b)||(c1!=c)||(d1!=d)||(e1!=e)||(f1=!f)) { if(D0!=0) { km++。 N=0。 a=b=c=d=e=f=0。 } } } } void display(uchar N)//顯示 { if(N==1) { temp=0xfe。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 } if(N==2) { temp=0xfe。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 23 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 } if(N==3) { temp=0xfe。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 } if(N==4) { temp=0xfe。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 } 24 if(N==5) { temp=0xfe。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 } if(N==6) { temp=0xfe。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 25 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=0x40。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 } } void exter0() interrupt 1//定時(shí)器 T0中斷服務(wù) { TH0=(6553610000)/256。 TL0=(6553610000)%256。 to++。 } void alarm() { if(km==3) { uchar n,m。 km=0。 for(m=50。m0。m) { for(n=200。n0。n) { K=~K。 delay_us(1000)。 } K=0。 delay(100)。 } } } void disp(uchar a,uchar b,uchar c,uchar d,uchar e,uchar f)//數(shù)字顯示 { 26 P0=table[a]。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=table[b]。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=table[c]。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=table[d]。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=table[e]。 P2=temp。 delay(1)。 P2=0xff。 temp=_crol_(temp,1)。 P0=table[f]。 P2=temp。 delay(1)。 P2=0xff。 if(temp=0xef) temp=0xfe。 } void delay_us(uchar z) { while(z)。 }
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1