-
Notifications
You must be signed in to change notification settings - Fork 667
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
change the synchronization time and make continuous requests in case you can not find server response #58
Comments
That example is instructive, but check out https://github.com/arduino-libraries/NTPClient I'm using that with the following code:
and then in setup():
and in loop():
|
Hi @blackketter in the related example I not find the parameters used for the hours, minutes and seconds, everything happens outside the code. |
If you use my sample code above you can have the Time library use the NTPClient to synchronize the time and then the Time library functions to figure out what day or time it is now. Beyond this, your question isn't really a bug for the Time library and so should be asked in another forum somewhere. |
unfortunately I could not make timelib.h or time.h library assume the values of year month day hour minutes seconds. |
Hi.
as indicated by the question as I can make time to upgrade to Internet is not made once every 5 minutes now makes the code TimeNTP_ESP8266WiFi.ino . I want to make the initial sincronization continuously until you connect and synchronize again 24 hours later.
What are the lines of code to be modified?
The text was updated successfully, but these errors were encountered: