You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading an alarm set point, the tm_year attribute is hardcoded to return 2017 and tm_mon to return 1. Is this intentional? Caused by a limitation somewhere?
@tannewt yeah the DS3231 alarm registers specify the time up to the day (date). Not sure how you want this helper library to handle it, but at the very least the docs should include a warning.
When reading an alarm set point, the
tm_year
attribute is hardcoded to return 2017 andtm_mon
to return 1. Is this intentional? Caused by a limitation somewhere?Adafruit_CircuitPython_Register/adafruit_register/i2c_bcd_alarm.py
Line 154 in d373491
In contrast, reading the datetime properly returns the year reported from the RTC:
Adafruit_CircuitPython_Register/adafruit_register/i2c_bcd_datetime.py
Line 88 in d373491
The text was updated successfully, but these errors were encountered: