We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! Which method should I use to know:
Thanks
The text was updated successfully, but these errors were encountered:
For the 1) question: check year, if it is 00, it was powered for the first time:
DateTime MyTimestamp; MyTimestamp = Clock.read(); if (MyTimestamp.Year==00) { Clock.promptForTimeAndDate(Serial); } else { Serial.print(F(" * RTC time: ")); Clock.printTo(Serial); }
Sorry, something went wrong.
No branches or pull requests
Hi!
Which method should I use to know:
Some libraries have the method "isrunning" or "lostPower"...
Thanks
The text was updated successfully, but these errors were encountered: