-
电子密码锁程序
//2013.10.05 电子密码锁的设计 要求如下:
//事先设置初始密码为910108,上电时数码管全为------,,按下S10开始输入6位密码
//如果输入的6位密码与预先设置的密码相同,则发光二极管全部亮,数码管显示GOOD;如果输入错误则蜂鸣器报警,并且8个LED发光二极管全部暗,数码管显示ERROR。
#include
#define uchar unsigned char
sbit dula=P2^6;
sbit wela=P2^7;
sbit beep=P2^3;
sbit p1_0=P1^0;
sbit p1_1=P1^1;
sbit p1_2=P1^2;
sbit p1_3=P1^3;
sbit p1_4=P1^4;
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-19 09:54:39下载
- 积分:1
-
93C46(56,66)的读写程序,包含一个字节的读写,读…
93c46(56,66)的读写程序,包含有读写一个字节,读写一字符串-93c46 (56,66) read and write procedures, contains a byte read and write, read and write a string, etc.
- 2022-12-11 16:25:03下载
- 积分:1
-
本程序是分布在希望它是有用的,
This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.-This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- 2022-03-26 17:48:35下载
- 积分:1
-
LPCEB2000
LPCEB2000-S的I2C控制程序,希望对大家有帮助-LPCEB2000-S of the I2C control procedures, and they hope to help everyone
- 2022-03-18 15:55:07下载
- 积分:1
-
定时器的设置
程序启动以后,首先自己按键输入起始时间,之后按任意键开始时钟开始工作。当想调整时间的时候,首先按下任意键进入中断,此时时钟停止工作。然后按照时、分、秒的顺序从高位到低位依次设定新的时间值。
- 2022-05-17 03:03:37下载
- 积分:1
-
一个ARM7的应用程序
一个ARM7的应用程序-an ARM7 applications
- 2022-03-04 01:48:01下载
- 积分:1
-
s3c2440 temperature test test code wince5.0
s3c2440 温度试验 测试代码 wince5.0-s3c2440 temperature test test code wince5.0
- 2022-01-31 13:49:33下载
- 积分:1
-
MIPS处理器VHDL代码,实现加法,减法乘除等运算,可综合
MIPS处理器VHDL代码,实现加法,减法乘除等运算,可综合-MIpscup vith vhdl
- 2022-07-09 04:19:06下载
- 积分:1
-
ARM7 S3C44B0X的串行口实验代码
ARM7 S3C44B0X的串行口实验代码-A sampling code of ARM S3C44BOX s serial port.
- 2022-06-16 13:37:13下载
- 积分:1
-
arm基础学习的东东,很实用,初学者请留意哇
arm基础学习的东东,很实用,初学者请留意哇-for junior of arm studing
- 2023-05-11 22:20:02下载
- 积分:1