adafruit / Adafruit-uRTC

MicroPython library for RTCs
MIT License
26 stars 8 forks source link

fixed alarm bug in DS3231 class #9

Closed miketeachman closed 5 years ago

miketeachman commented 5 years ago

I was having problems getting alarms to work for a DS3231 device I debugged this module code and found that Bit 6 of the alarm day/date register is set incorrectly. According to the DS3231 datasheet, Bit 6 is set when day-of-the-week is used.

kattni commented 5 years ago

We have merged this PR, however we are deprecating this library. We now only support CircuitPython. Please fork if you wish to continue development.