DS1302芯片,功能是电子时钟,他的部分程序
#include "main.h"
#include "ds1302.h"
code uint8 Ledcode[13]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff,0xbf,0x86};
uint8 Time[7]={55,59,11,22,2,2,11};//秒分时日月周年10-08-15 11:59:55
uint8 Led_buf[6];
uint8 Num, Led_n=0, T_n=0;
一个错误,两个警告,如下图
哪里需要修改,大神求指点。谢谢!
|