51單片機DS1302時鐘芯片簡單程序

 #include<reg51.h>  #include<intrins.h>  #define uchar unsigned char  #define uint unsigned int data_7seg[10]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,};  uchar hour,min,sec;  sbit shi=P1^0;
相關文章
相關標籤/搜索