sleemanj / DS3231_Simple

An Arduino Library for EASY communication with DS3231 I2C RTC Clock and Atmel AT24C32 I2C EEPROM commonly found on the same board. Implements setting, getting the time/date, setting, checking and clearing alarms, and dead-easy circular-buffered logging of data with timestamp.
MIT License
82 stars 25 forks source link

Test function of setting bit 7 in status register to Pause/Resume clock on Vcc #21

Open sleemanj opened 4 years ago

sleemanj commented 4 years ago

checkAlarms pauses to avoid race condition, pause is accomplished by flip bit 7 in control register (0x0E), datasheet indicates only stops clock on battery, shoudl test to see if flip bit 7 in status register (0x0F) accomplishes pause when on Vcc.

See #20