Zanduino / MCP7940

Arduino Library to access the MCP7940M, MCP7940N and MCP7940x Real-Time chips
GNU General Public License v3.0
35 stars 22 forks source link

Weekday changes after deviceStart causing alarm to not work #69

Open woutervdhof opened 4 months ago

woutervdhof commented 4 months ago

Expected Behavior

Actual Behavior

When the date and time is set using the Adjust() function, the weekday in the registry is sometimes not correct afterwards. For me this is mainly a problem because it causes the alarm to not work when using alarmType=0x7.

Steps to Reproduce the Problem

The problem only occurs in some chips. It seems some batches are more affected then others. This makes reproduction somewhat tricky. For issue 4 what I had to do to reproduce was:

Specifications