单片机设计红外报警器源程序
单片机设计红外报警器源程序 /********定义头文件*******/ #include #define uint unsigned int//定义无符号整数变量类型 #define uchar unsigned char//无符号字符变量类型 uchar code LED[ ]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xbf};//共阳极段码表说明....
单片机设计红外报警器源程序 /********定义头文件*******/ #include #define uint unsigned int//定义无符号整数变量类型 #define uchar unsigned char//无符号字符变量类型 uchar code LED[ ]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xbf};//共阳极段码表说明....