0

rtc ds3231: how to set an alarm with rtclib ?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

rtc ds3231: how to set an alarm with rtclib ?

by blandiant on Mon May 21, 2018 4:07 pm

Hi,
i bought a ds3231, and i looked on the github page of the rtclib library (and on the "learn page of the ds3231"), i dont find the way to set an alarm (on the sqw pin) with this library.
do you know how to do this ? or do i have to use an other library ?
Thank you :)

blandiant
 
Posts: 3
Joined: Wed May 09, 2018 10:53 am

Re: rtc ds3231: how to set an alarm with rtclib ?

by adafruit_support_bill on Mon May 21, 2018 4:45 pm

The RTCLib does not have support for that feature on the DS3231.

You might try this library. It appears to support the alarm feature: https://github.com/JChristensen/DS3232RTC

adafruit_support_bill
 
Posts: 69809
Joined: Sat Feb 07, 2009 10:11 am

Re: rtc ds3231: how to set an alarm with rtclib ?

by blandiant on Mon May 21, 2018 6:49 pm

I will try it,
Thank you very much :)

blandiant
 
Posts: 3
Joined: Wed May 09, 2018 10:53 am

Please be positive and constructive with your questions and comments.