資源簡(jiǎn)介
自己學(xué)習(xí)的時(shí)候用proteus做的一個(gè)電子密碼鎖,帶圖形液晶顯示的
代碼片段和文件信息
#include
#include
#define?uchar?unsigned?char
#define?uint?unsigned?int
#define LCD P0
sbit RST=P2^0;
sbit? E=P2^1;
sbit RW=P2^2;
sbit DI=P2^3;
sbit CS2=P2^4;
sbit CS1=P2^5;
sbit LED=P1^0;
sbit SOUND=P1^7;
bit?????scancomped=0;
uchar???s5=0;
uchar m1=0;
uchar???changecomped=0;
uchar counter1=0; //是否輸入了六位
uchar??wreal; //錯(cuò)誤標(biāo)志
bit???inputcomped=0;?//輸入完成標(biāo)志
uchar?real[6]={0x210x210x210x210x210x21};
uchar?realmm[6]={0x000x000x000x000x000x00};
uchar?new1[6]={0x000x000x000x000x000x00};
uchar?new2[6]={0x000x000x000x000x000x00};?
bit???onoff=0;
bit ??busy=1;
bit???checkstate=0;
bit???checkstate1=0;
bit???sec5;
uchar????line=0;
uchar select;
uchar???wrongtime=0; //輸入錯(cuò)誤次數(shù)
uint????rnum1;
uint????rnum2;
uchar???nnkey;
uch
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????5891??2007-12-18?13:08??C51電子密碼鎖proteus仿真設(shè)計(jì)\character.h
?????文件?????109671??2008-01-21?22:44??C51電子密碼鎖proteus仿真設(shè)計(jì)\Last?Loaded?mima.DBK
?????文件?????109676??2008-06-12?17:37??C51電子密碼鎖proteus仿真設(shè)計(jì)\mima.DSN
?????文件???????1028??2008-06-12?17:37??C51電子密碼鎖proteus仿真設(shè)計(jì)\mima.PWI
?????文件??????44241??2007-12-21?22:27??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd
?????文件??????14733??2008-06-12?17:17??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd.c
?????文件??????12730??2007-12-21?22:27??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd.hex
?????文件?????????47??2007-12-21?22:27??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd.lnp
?????文件??????37301??2007-12-21?22:27??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd.LST
?????文件??????56175??2007-12-21?22:27??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd.M51
?????文件??????54012??2007-12-21?22:27??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd.OBJ
?????文件???????1218??2008-06-12?17:17??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd.Opt
?????文件????????192??2008-06-12?17:17??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd.plg
?????文件???????2200??2008-06-12?16:35??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd.Uv2
????.......??????1060??2008-06-12?16:36??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd_Opt.Bak
????.......??????2233??2007-12-09?23:23??C51電子密碼鎖proteus仿真設(shè)計(jì)\mimalcd_Uv2.Bak
?????文件???????1421??2008-06-12?17:36??C51電子密碼鎖proteus仿真設(shè)計(jì)\功能說(shuō)明.txt
?????文件????1435956??2008-06-12?16:49??C51電子密碼鎖proteus仿真設(shè)計(jì)\字庫(kù)生成工具\(yùn)PctoLCD2002.rar
?????目錄??????????0??2008-06-12?16:55??C51電子密碼鎖proteus仿真設(shè)計(jì)\字庫(kù)生成工具
?????文件???????2226??2008-06-12?16:55??C51電子密碼鎖proteus仿真設(shè)計(jì)\液晶資料\C語(yǔ)音驅(qū)動(dòng)看具體程序.txt
?????文件?????320934??2007-12-02?19:52??C51電子密碼鎖proteus仿真設(shè)計(jì)\液晶資料\ks0108.pdf
?????目錄??????????0??2008-06-12?16:52??C51電子密碼鎖proteus仿真設(shè)計(jì)\液晶資料
?????目錄??????????0??2008-06-13?16:48??C51電子密碼鎖proteus仿真設(shè)計(jì)
-----------?---------??----------?-----??----
??????????????2212945????????????????????23
- 上一篇:教師工作量管理系統(tǒng)
- 下一篇:ITRON系統(tǒng)源代碼
評(píng)論
共有 條評(píng)論