Skip to content

Century "untouchable" #11

Description

@jerome13013

Hi,

Within DS3231.cpp, there is no possibility to update the "century" bit at adress 0x05h, bit 7.
You can read it with getMonth(&century) but using decToBcd(month) in the setMonth(month) routine doesn't allow to write it with for example setMonth( 0x80h OR month ).

A standalone function setCentury(bool Century) could be useful to complete the library :)

Yes... I know... the "century" bit is not very useful ;)

Best regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions