智能防火防盗设计程序.rar
#include
#include
#include //头文件
#defineuintunsignedint
#defineucharunsignedchar //宏定义
//按键
sbitkey1=P3^2; //布防
sbitkey2=P3^3; //撤防
sbitkey3=P3^4; //紧急报警
sbitBUZZ=P0^4; //蜂鸣器
sbitrsd=P2^4; //热释电输入
sbityanwu=P2^5;
sbitLED_B=P2^3;//
下载地址
用户评论