adafruit / Adafruit_CircuitPython_DS3231

Adafruit CircuitPython drivers for the DS3231 realtime clock.
MIT License
21 stars 19 forks source link

Remove verification check #20

Closed caternuson closed 4 years ago

caternuson commented 4 years ago

Possible fix for #15

Uses approach proposed by @gritnix in issue thread which checks for elapsed time. This slows down the constructor, but avoids relying on a register value that may not be as expected due to regular use.