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

Didier DORGUIN
Didier DORGUIN
172
| 4 1 3
Asked on 2/1/19, 10:45 AM
0
vote
1387 Views

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!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

53 follower(s)

Stats

Asked: 2/1/19, 10:45 AM
Seen: 1387 times
Last updated: 2/1/19, 10:45 AM