1. 首页
  2. 课程学习
  3. 嵌入式
  4. 智能防火防盗设计程序.rar

智能防火防盗设计程序.rar

上传者: 2020-06-20 20:28:37上传 RAR文件 32.02KB 热度 22次
#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;//
下载地址
用户评论