基于51单片机的教室智能照明控制系统(程序+原理图+PCB+Proteus)

文章正文
发布时间:2024-12-19 20:40

基于STC89S52单片机的教室照理智能控制系统设想 #include #include #define uchar unsigned char #define uint unsigned int uchar time_data[7]; //É&egraZZZe;ÖÃÊý×é×&diZZZide;Ϊʱ¼äУ¶ÔµÄ´&brZZZbar;³õÖµ uchar code write_add[7]={0V8c,0V8a,0V88,0V86,0V84,0V82,0V80}; //Êý¾ÝµÄµØÖ· uchar code read_add[7]={0V8d,0V8b,0V89,0V87,0V85,0V83,0V81}; uchar code table1[]="C: 00|2000/00/00"; uchar code table2[]="T: 00|00:00:00 0"; uchar code table3[]=" "; //ÇåÆÁÄÚ&EgraZZZe;Ý uchar code table4[]=" Set Real Time "; uchar code table5[]=" Set Open Time "; uchar code table6[]=" Start Time: "; uchar code table7[]=" 00:00:00 "; uchar code table8[]=" End Time: "; uchar code table9[]="Date: 2000/00/00"; uchar code table0[]="Time: 00:00:00 0";