);lcd12864initinal();lcd12864display(str1,1);delay_50ms(40);while(1){read_rtc();//问题所在,屏蔽掉显示正常,函数应该是正常
2014-03-23 14:13
] //rtc -> sys[-w|–systohc] //sys ->rtc[-t |–systz] //test[-l |–localtime] //read
2021-11-01 17:37
read_rtc_address[7]={0x81,0x83,0x85,0x87,0x89,0x8b,0x8d};code unsigned char table[]={0x3f,0x06,0x5b,0x4f,0x66
2013-08-28 13:34
date -R查看系统时区date -s “2020-10-23 09:38:00” 设置系统时间hwclock[-r|–show]//read[-s |–hctosys]//rtc ->
2021-11-04 07:24
,0x82,0x84,0x86,0x88,0x8a,0x8c}; //秒分时日月周年 最低位读写位code unsigned char read_rtc_address[7]={0x81
2016-07-23 15:49
);} /** * @brief: read RTC date and time * @Param: fd: the file descriptor of rtc device */void
2020-06-12 09:07
write_ds1302_byte(uchar dat);void write_ds1302(uchar add,uchar dat);uchar read_ds1302(uchar add);void set_rtc
2013-02-05 10:57
例程,按照自己的习惯进行了补充和修改【蓝桥杯】—{模块}—{DS1302时钟芯片Part_1}一、基本模板、头文件..写设置时钟函数Set_RTC()写读取时钟函数Read_RTC()读字节函数:写入形参为地址字节,返回值为数据字节。
2022-01-17 07:13
例程,按照自己的习惯进行了补充和修改【蓝桥杯】—{模块}—{DS1302时钟芯片Part_1}一、基本模板、头文件..写设置时钟函数Set_RTC()写读取时钟函数Read_RTC()读字节函数:写入形参为地址字节,返回值为数据字节。
2022-01-18 09:22
***302_byte(uchar dat);void write_ds***302(uchar add,uchar dat);uchar read_ds***302(uchar add);void set_rtc
2014-07-18 20:59