add: weekday support and fix start value of day and month - 1

This commit is contained in:
2024-09-18 21:55:49 +02:00
parent ef75ad874d
commit 083468240d
3 changed files with 14 additions and 3 deletions

View File

@ -5,6 +5,7 @@
#define SECOND_REGISTER 0x00
#define MINUTE_REGISTER 0x02
#define HOUR_REGISTER 0x04
#define DAY_OF_THE_WEEK_REGISTER 0x06
#define DAY_OF_THE_MONTH_REGISTER 0x07
#define MONTH_REGISTER 0x08
#define YEAR_REGISTER 0x09