標題:
89c52密碼鎖
[打印本頁]
作者:
小丑,
時間:
2018-1-10 13:20
標題:
89c52密碼鎖
#include<reg52.h>
#define uchar unsigned char
#define uint unsigned int
uchar old1,old2,old3,old4,old5,old6; //原始密碼000000
uchar new1,new2,new3,new4,new5,new6; //每次MCU采集到的密碼輸入
uchar a=16,b=16,c=16,d=16,e=16,f=16; //送入數(shù)碼管顯示的變量
uchar wei,key,temp;
bit allow,genggai,ok,wanbi,retry,close; //各個狀態(tài)位
sbit dula=P2^6;
sbit wela=P2^7;
sbit beep=P2^3;
密碼鎖.rar
2018-1-10 13:19 上傳
點擊文件名下載附件
下載積分: 黑幣 -5
21.61 KB, 下載次數(shù): 15, 下載積分: 黑幣 -5
作者:
都市郎
時間:
2018-1-24 03:31
不知道樓主的矩陣鍵盤是51什么腳
歡迎光臨 (http://www.torrancerestoration.com/bbs/)
Powered by Discuz! X3.1