基于51单片机的c语言程序 电子密码锁

上传者: kaidada | 上传时间: 2021-05-10 18:02:05 | 文件大小: 207KB | 文件类型: ZIP
部分源程序如下: #define enter 0x0C//确定 #define backspace 0x0F//退格 #define A 0x0a //输入密码 #define B 0x0b //修改密码 uchar idata temp5_password[6]= {0x01,0x02,0x03,0x04,0x05,0x06};//设置初始密码为“123456” sbit SET=P3^2;//恢复出厂密码设置键 sbit Lock_BIT=P3^3;//锁控制信号,输出低电平 sbit SPK=P3^4;//报警信号输出端 uchar int_count_1; unsigned int int_count_2; //================================================ void longdelay(unsigned char i) { unsigned int j; for(;i>0;i--) for(j=10000;j>0;j--); } //========================================== bit compare_string(uchar *string1,uchar *string2) { uchar count; for(count=0;count<6;count++) { if(string1[count]!=string2[count]) return(0); } return(1); }

文件下载

资源详情

[{"title":"( 36 个子文件 207KB ) 基于51单片机的c语言程序 电子密码锁","children":[{"title":"电子密码锁","children":[{"title":"STARTUP.OBJ <span style='color:#111;'> 749B </span>","children":null,"spread":false},{"title":"STARTUP.A51 <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"Last Loaded 电子密码锁.DBK <span style='color:#111;'> 184.57KB </span>","children":null,"spread":false},{"title":"keil","children":[{"title":"电子密码锁.OBJ <span style='color:#111;'> 32.95KB </span>","children":null,"spread":false},{"title":"电子密码锁.M51 <span style='color:#111;'> 39.34KB </span>","children":null,"spread":false},{"title":"电子密码锁.lnp <span style='color:#111;'> 83B </span>","children":null,"spread":false},{"title":"18B20.h <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"DS1302.h <span style='color:#111;'> 6.53KB </span>","children":null,"spread":false},{"title":"电子密码锁_Uv2.Bak <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"电子密码锁 <span style='color:#111;'> 30.73KB </span>","children":null,"spread":false},{"title":"delay.h <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"STARTUP.OBJ <span style='color:#111;'> 749B </span>","children":null,"spread":false},{"title":"电子密码锁.c <span style='color:#111;'> 5.98KB </span>","children":null,"spread":false},{"title":"电子密码锁.Uv2 <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"STARTUP.A51 <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"电子密码锁_Opt.Bak <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"keyscl.LST <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"keyscl.c <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"delay.LST <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"电子密码锁.plg <span style='color:#111;'> 7.30KB </span>","children":null,"spread":false},{"title":"STARTUP.LST <span style='color:#111;'> 11.39KB </span>","children":null,"spread":false},{"title":"keycl.h <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"电子密码锁.Opt <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"电子密码锁.LST <span style='color:#111;'> 12.70KB </span>","children":null,"spread":false},{"title":"delay.c <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"LCD1602.h <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"24C02.h <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false},{"title":"delay.OBJ <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"电子密码锁.hex <span style='color:#111;'> 7.55KB </span>","children":null,"spread":false},{"title":"keyscl.OBJ <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false}],"spread":false},{"title":"STARTUP.LST <span style='color:#111;'> 11.39KB </span>","children":null,"spread":false},{"title":"电子密码锁1.DSN <span style='color:#111;'> 184.53KB </span>","children":null,"spread":false},{"title":"电子密码锁.PWI <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"Last Loaded 电子密码锁1.DBK <span style='color:#111;'> 184.53KB </span>","children":null,"spread":false},{"title":"电子密码锁1.PWI <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"电子密码锁.DSN <span style='color:#111;'> 184.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • tangjianming1028 :
    代码没有什么用
    2016-09-29
  • sjl19931111 :
    确实很好啊!都能运行,很感谢楼主!
    2014-12-24
  • xguo- :
    确实很好啊!都能运行,很感谢楼主!
    2014-11-18
  • scmycmf :
    只有代码,没有一点说明,看起来费劲。
    2013-01-08

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明