WIO Terminal RTC Clock running fast. I am using both Include .h files required for RTC
#include “RTC_SAMD51.h”
#include “DateTime.h”
In .h files there is no calibration or how you can update now.minute() with new minute time to correct running fast in 24 hour period.
Are there other commands to calibrate or adjust clock from running fast.
Maybe something like this for your case
now = rtc.now();
DateTime fix = DateTime(now.year(), now.month(), now.day(), now.hour(), now.minute(), now.second() - 10);
rtc.adjust(fix)
I have been having serious issues with the RTC. See here:
http://RTC error when Powering the WIO Terminal VIA 40 pin connector
But I have had no help from the forum.
The RTC is not very accurate (which is not what it’s name suggests!) and is even more inaccurate when the Serial stream is not being read by the host PC.
I have added a full example. Try it with the PC connected and the serial monitor open, then try it with the WIO powered from a USB adaptor and watch time slow down!
Perhaps now we can get some answers:-)
Stuart