/*************************************************************************** ***** * 描述: * * * **************************************************************************** ****/ #include #include #define uchar unsigned char #define uint unsigned int uchar LCD_ID_1[16] = {"Red Control"}; uchar LCD_ID_2[16] = {"IR CODE:--H"}; void delay(uchar x); //x*0.14MS void delay1(int ms); void beep(); sbit IRIN = P3^3; //红外接收器数据线 sbit BEEP = P1^5; //蜂鸣器驱动线 sbit RELAY= P1^4; //继电器驱动线 uch
2022-06-19 14:03:34
42KB
文档资料