资源简介
包括keil源程序、Proteus仿真元件图,可直接运行仿真
代码片段和文件信息
/***** LCD 12864 with KS0108B controller display driver *****/
#define uchar unsigned char
#include
#include
bit verify=0;
bit cursor=1;
bit modify_flag=0modify=0;
uint time_counter=0;
uchar counter=0j=0ik;
uchar PASS[8]={12345678};
uchar PW[8]={00000000};
uchar PW_NULL[8]={00000000};
uchar MODIFY_BUF[8]={00000000};
/****************************verify pw ************************/
bit VerifyAray(void)
{
uchar i;
bit temp=FAULSE;
for(i=0;i<8;i++)
{
if(PW[i]==PASS[i])temp=TRUE;
else
{
temp=FAULSE;
i=8; //end for loop
}
}
return(temp);
}
/*********************** main ************************/
void main(void)
{
E=1;
DspOn();
ClearLCD();
// IT0=1;
// IT1=1;
// EX0=1;
// EX1=1;
TMOD=0x10;
ET1=1;
EA=1;
TH1=0x00;
TL1=0x00;
TR1=1;
while(1)
{
/******************fist line
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 33777 2007-07-28 16:37 8-password-LCD\12864lcd
文件 15331 2007-07-28 16:37 8-password-LCD\12864lcd.hex
文件 28 2007-07-28 16:37 8-password-LCD\12864lcd.lnp
文件 33251 2007-07-28 16:37 8-password-LCD\12864lcd.M51
文件 1893 2007-07-28 17:16 8-password-LCD\12864lcd.Opt
文件 911 2007-07-28 17:16 8-password-LCD\12864lcd.plg
文件 2119 2007-07-28 17:16 8-password-LCD\12864lcd.Uv2
文件 15561 2007-07-23 14:30 8-password-LCD\character.h
文件 3326 2007-07-15 15:27 8-password-LCD\character2.h
文件 3712 2007-07-23 14:41 8-password-LCD\drive_functions.h
文件 884 2007-07-16 23:48 8-password-LCD\get_keys.h
文件 68638 2007-07-10 01:40 8-password-LCD\Last Loaded LCD.DBK
文件 102390 2007-07-16 02:29 8-password-LCD\Last Loaded password-LCD.DBK
文件 9837 2007-07-23 14:55 8-password-LCD\lcd.c
文件 28802 2007-07-28 16:37 8-password-LCD\lcd.LST
文件 39777 2007-07-28 16:37 8-password-LCD\lcd.OBJ
文件 359 2014-04-18 23:02 8-password-LCD\lcd.pjw
文件 1028 2007-07-14 23:19 8-password-LCD\LCD.PWI
文件 102951 2007-07-23 15:04 8-password-LCD\password-LCD.DSN
文件 1102 2014-04-20 10:18 8-password-LCD\password-LCD.PWI
目录 0 2014-04-20 10:18 8-password-LCD
----------- --------- ---------- ----- ----
465677 21
- 上一篇:arnold置乱 ArnoldPeriod周期
- 下一篇:模拟文件系统设计报告
相关资源
- xyisv_10236804.zip
- 计算机图形学第4版高清电子书.pdf
- 《多粒度知识获取与不确定性度量》
- 华成英模电课件.zip
- 70d0cd041f738f12db575d3b46e97582.pdf
- OfficeTabEnterprise13.1.zip
- wxu998.rar
- PowerDesigner16.5汉化文件.rar
- jsgis.zip
- PinyinIME(关键代码写了注释).zip
- 锁相环设计、仿真与应用第5版中.pd
- novelOnLine.zip
- SingleSensorImagingMethodsandApplicationsforDi
- ControlSystemsEngineering7th(NormanS.Nise)
- ModernControlSystems13th(RichardC.Dorf).ra
- VectorMagic_1.15pojie.rar
- complexityoflattice__problems.pdf
- xnby_883749.zip
- TOGAF培训讲义-周金根.pdf
- OS12.2驱动,手机虚拟定位软件,Loca
- 大话系列-大话数据结构(pdf高清版)
- 梁宁产品经理思维30讲.pdf
- CHI760E辰华电化学工作站软件最新版
- SAPERPHCM葵花宝典系列之配置指南(电
- TangZhuoLin.rar
- Day3_NOI.zip
- 图解HTTP.pdf
- VisionProStandardv7.2(2Day).zip
- ElevatorSimulation.zip
- 14002454IPC-A-610DChinese(L).pdf
评论
共有 条评论