Skip to content

Basic example not compile #1

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

Closed
Testato opened this issue Dec 12, 2015 · 5 comments
Closed

Basic example not compile #1

Testato opened this issue Dec 12, 2015 · 5 comments

Comments

@Testato
Copy link
Contributor

Testato commented Dec 12, 2015

You ned pass a value on costructor inizialization in the sketch, or if you prefer, you can add an empty constructor to the library

@FWeinb
Copy link
Collaborator

FWeinb commented Dec 12, 2015

Thanks for reporting. I update this library to 2.0.0 and removed the need for calling timeClient.begin() completely.

@FWeinb FWeinb closed this as completed Dec 12, 2015
@Testato
Copy link
Contributor Author

Testato commented Dec 12, 2015

Thanks to you for this library, i will test 2.0version tomorrow
A question: is there an internal real time clock in the library ? Example, if i remove update from loop the time is synced only at boot on setup, and after the clock continue to work also without internet ?

@FWeinb
Copy link
Collaborator

FWeinb commented Dec 12, 2015

Yes the Time will be continued but only based on the return value of millis() I have no idea how accurate this is. I could imagen that you would get quite a bit of shift in time over a long period. I have to investigate a little further to account for the initial offset that is created to account for the time it takes to process the UDP returned value.

@Testato
Copy link
Contributor Author

Testato commented Dec 12, 2015

Process the returned time need a big time ? It is strange, the esp is an 80Mhz mcu (and 160MHz if you want) i think he need about zero seconds for parse the UDP returned data.

@FWeinb
Copy link
Collaborator

FWeinb commented Dec 12, 2015

No the time of the parsing is not that big but there could be some network related delays in getting the UDP data.

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

2 participants