D21G : Setting time/date on the 31st of the month
This is a heads-up about a slight problem we just discovered yesterday and confirmed today on 2 different apps for D21G.
If you try to set the date of your internal clock with MCP7940.h library on the 31st of any 31-day month, you get some rubbish in your date and you have a fifty-fifty risk of stopping your program in the setup() part.
The internal clock works fine in displaying and calculating time and date on the 31st, though. So just avoid setting your clock on these 7 days in a year.
Hope this helps,
Didier DORGUIN, DG2R
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
Asked: 2/1/19, 10:45 AM |
Seen: 1602 times |
Last updated: 2/1/19, 10:45 AM |