You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I acknowledge this is not a M5 Unified issue, but any help would be appreciated because I get inconsistent results using a 1sec delay after calling sync with NTP. Sometimes it works, other times it syncs to an incorrect time.
Thankyou.
The text was updated successfully, but these errors were encountered:
@patfelst
Thanks for reporting this Issue.
It seems that there was a missing header file that should be included.
Please try adding the following code to the top of the sample code.
Yes thanks, that fixed the problem! And it works reliably now, good NTP sync every time!
In case anyone else is reading this, for my home location in Adelaide, Australia, this is the function call that's working for me: configTzTime("ACST-9:30ACDT,M10.1.0,M4.1.0/3", "pool.ntp.org");
Hi there, thanks for your great library. My question is related to PR #20
I cannot get the basic RTC.ino example to compile when I uncomment these lines to sync Core2 RTC with NTP
M5Unified/examples/Basic/Rtc/Rtc.ino
Lines 42 to 66 in 42717f0
It is failing on line 55. I'm unsure how this can compile when it is an IDF framework function, not an Arduino framework function?
while (sntp_get_sync_status() != SNTP_SYNC_STATUS_COMPLETED)
I acknowledge this is not a M5 Unified issue, but any help would be appreciated because I get inconsistent results using a 1sec delay after calling sync with NTP. Sometimes it works, other times it syncs to an incorrect time.
Thankyou.
The text was updated successfully, but these errors were encountered: