Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NTP never gets synched #49

Open
ChristofferVokalo opened this issue May 10, 2023 · 0 comments
Open

NTP never gets synched #49

ChristofferVokalo opened this issue May 10, 2023 · 0 comments

Comments

@ChristofferVokalo
Copy link

Hej

For some reason it would appear that the getLastSynch() always returns 0, even when I have waited a couple of minuts. I test this with a simple while(NTP.getLastSynch()==0){} but it never jumps out of it. I even make sure that the wifi is connected, and I use the dk ntp pool with your pre defined TZ for copenhagen:

while ( WiFi.status() != WL_CONNECTED ) {}
NTP.setTimeZone(TZ_Europe_Copenhagen);
NTP.setInterval(500);
NTP.begin("dk.pool.ntp.org");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant