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

alarm every 5 seconds #5

Closed geologic closed 6 years ago

geologic commented 7 years ago

Hi

I'm trying so set an alarm every 5 seconds:

MyTimestamp = Clock.read(); 
  MyTimestamp.Second   = 5;
  Clock.setAlarm(MyTimestamp, DS3231_Simple::ALARM_MATCH_SECOND);

But this only fires only once every minute, at 5th second.