-
Notifications
You must be signed in to change notification settings - Fork 712
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For the `DS3231_A1_Day' and `DS3231_A2_Day' alarm modes to work, the RTC has to know the day of the week, but `adjust()' would write 0 to the relevant register. Fix these alarm modes by telling the RTC the day of the week in a format suitable to it: from 1 (Monday) to 7 (Sunday). Fixes #193.
- Loading branch information
1 parent
4f13fa5
commit 11ee4b2
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters