HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR4,sDate.Year); }else{ sDate.Month = HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DR2); sDate.Date = HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DR3); sDate.Year = HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DR4);HAL_RTC_SetDate(&hrtc, &sDate, RTC_FORMAT...
一个线上项目之前一直运行得很稳定,从没出过数据错误的问题,但是在2021.12.26这天却“意外”地出现...
When I try to compile the RTC example, in the M5StickC-Plus examples on github (https://github.com/m5stack/M5StickC-Plus/blob/f4f2ef8c3619fed4c430ce6e1f486c5c63f7c09e/examples/Basics/RTC/RTC.ino) I get: RTCTest:38:12: error: 'class RTC' has no member named 'SetDate'; did ...
battery is low,就是说主板的电池没电了,BIOS储存的配置信息丢失,按F2键会载入缺省配置并继续启动机器。但是,下次启动仍然会再次提醒的,因为电池仍然没电...解决方法:买一颗CR2032规格的电池,给主板换上。