登录
首页 » 嵌入式系统 » 4 的数字密码锁

4 的数字密码锁

于 2022-03-19 发布 文件大小:21.26 kB
0 76
下载积分: 2 下载次数: 1

代码说明:

这是一个简单的例子,基于 8051 单片机的电子密码锁。该示例项目还描述了如何接口 16 × 2 液晶显示器和键盘。简单的电话键盘用于此项目。系统启动时最初"输入密码"在第 1 行上显示和用户输入密码,并在每个键按下 * 在屏幕上显示。此密码是 4 位数长度。如果输入 4 位数密码匹配用在程序代码中的预定义密码后然后系统激活锁定继电器连接在引脚 # 0 的端口 P2 意味着打开锁,并显示用户锁被打开一条消息。现在关于紧迫 " *" 关键用户可以再次启用锁定。如果是不正确的密码然后系统显示无效的密码的消息,并不能打开锁。在代码中定义的锁的密码是"1234″。如果用户输入错误的关键,并想要从开始再次输入密码,然后用户可以按 " *" 中重新输入密码。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 1, SPI_877A, is written by PROBE877A. SPI_877, is written by PROBE877. SPI_77, i...
    1, SPI_877A,是针对PROBE877A所写。 SPI_877,是针对PROBE877所写。 SPI_77,是针对PROBE77所写。 初次使用使用PICMATE2004或者其简化版精灵版,如果为以上提到的3款型号,并有TPDEM1, 请根据PROBE型号在相应文件夹下打开项目,编译,并运行,具体连线请看各文件夹说明。 2, 其它文件夹项目均针对PROBE877A所建立,如果要使用PROBE877,请修改头文件,并选择PROBE877支持的芯片。 3, 严格禁止将PROBE877与877A混用,否则将造成仿真芯片工作异常。-1, SPI_877A, is written by PROBE877A. SPI_877, is written by PROBE877. SPI_77, is written by PROBE77. First-time use or its PICMATE2004 Wizard version of Starter Edition, if for the above-mentioned models 3 and TPDEM1, please PROBE models in the corresponding folder to open the project, compile, and run, the specific connection see the folder Note. 2, other projects are folders created for PROBE877A, if you want to use PROBE877, please amend the header file, and select PROBE877 support chips. 3, is strictly prohibited PROBE877 and 877A will be a mix, or else the work will result in simulation chips abnormal.
    2023-05-31 20:50:03下载
    积分:1
  • Nucleus集成开发环境测试版,内含Nucleus操作,可进行开发试验...
    Nucleus集成开发环境测试版,内含Nucleus操作系统,可进行开发试验 -Nucleus integrated development environment test version containing the Nucleus operating system, the development and testing can be conducted
    2023-01-14 14:30:04下载
    积分:1
  • wdm format drives two code examples
    wdm格式的驱动例子代码2-wdm format drives two code examples
    2022-09-27 14:45:03下载
    积分:1
  • asterisk-g72x-1.1.tar.bz2
    经过定点优化的G723、G729的codec In case you do not want to install IPP, then you"ll get twice better performance out of ITU-T code if you build it with GCC 4.5 or Intel CC with LTO/IPO enabled. Still, even with ICC, it is 10x slower than IPP - 30ms vs 3ms of processor time to encode one second of G.729 audio on modern hardware. G.723 is around 100ms. GCC with LTO is 2x slower than ICC. For ITU-T code, a Core2 class processor is recommended.
    2022-01-30 16:18:30下载
    积分:1
  • IAR prepared to use, MSP430 button switch control with LED, invaluable learning...
    用IAR编写的,MSP430用按键开关控制LED,不可多得的学习程序-IAR prepared to use, MSP430 button switch control with LED, invaluable learning process
    2022-02-04 19:01:24下载
    积分:1
  • 红外遥控逻辑分析器。原代码+电路图
    红外遥控逻辑分析器。原代码+电路图 - RAR 压缩文件-Infrared Remote Control logic analyzer. The original code+ Circuit- RAR compressed files
    2022-03-15 01:14:21下载
    积分:1
  • Linux下SDIO设备的驱动程序,可以移植到其他如ucos上面
    Linux下SDIO设备的驱动程序,可以移植到其他系统如ucos上面-Linux under the SDIO device drivers, can be transferred to other systems such as the above uCOS
    2022-03-04 15:46:48下载
    积分:1
  • 介绍了再linux下如何创建进程,以及创建进程中应注意的有关问题...
    介绍了再linux系统下如何创建进程,以及创建进程中应注意的有关问题-introduced again linux systems process of how to create and build process should pay attention to issues related to
    2022-06-14 05:19:44下载
    积分:1
  • Watchdog test procedure, a small sparrow, easy to grasp and learn.
    看门狗测试程序,麻雀小,易于掌握,学习。-Watchdog test procedure, a small sparrow, easy to grasp and learn.
    2022-04-30 22:17:16下载
    积分:1
  • 例如RTC
    example RTC-EEPROM -example RTC-EEPROM xxxx
    2022-02-26 20:57:30下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 31今日下载