我眼神不好,
看起来好像是 一下几行代码的第一行 dsl1302writ 要改为 ds1302write, 字母l改为数字1
void dsl302write(unsigned char addr,dat){unsigned char n;SCLK=0;
需要给你完成一份吗