红外线遥控旋转LED钟_QQ电子网--电子行业资讯|电子基础知识|电子视频教程|电子技术教... (转载)
C51程序:#include sbit gate11=P3^0;sbit gate12=P3^1;#define unit unsigned int#define uchar unsigned charuchar data BUFFER[]={0,0,0,0,1,1,7};uchar data M[]={31,28,31,30,31,30,31,31,30,31,30,31};uchar cod