The weekdays register is not set, largely because there is no code in the library to do so. This results in the weekdays register holding undefined values and hence the PCF8563::getTime() method returning an incorrect weekday. The PCF8563 class library needs a new short routine adding:
void setWeekday(uint8_t weekday);
The weekdays register is not set, largely because there is no code in the library to do so. This results in the weekdays register holding undefined values and hence the
PCF8563::getTime()method returning an incorrect weekday. The PCF8563 class library needs a new short routine adding:void setWeekday(uint8_t weekday);