Zanduino/MCP7940

Alarm problem

Closed this issue · 2 comments

Hi
setting an alarm for the next day, this is not generated when alarmTypes is set to matchAll. I checked the code and it seems that the problem is in the setAlarm function because the MCP7940_RTCWKDAY is not set for the next day but remains set at the previous day.

thanks

Let me look into that

The Weekday wasn't being updated, as you had surmised. Corrected that so the weekday is always set depending upon the Date value.