Makuna / Rtc

Arduino Library for RTCs, Ds1302, Ds1307, Ds3231, Ds3232, Ds3234 and Pcf8563/BM8563 with deep support. Please refer to the Wiki for more details. Please use the Github Discussions to ask questions as the GitHub Issues feature is used for bug tracking.
GNU Lesser General Public License v3.0
364 stars 128 forks source link

Alarm and SQW Pin output #79

Closed m1ch3l4 closed 5 years ago

m1ch3l4 commented 5 years ago

Hello, I'm using the library together with NodeMCU - Esp8266E.

Set date, time and alarm easily. And when the alarm goes off the SQW goes from HIGH to LOW - okay.

I need the SQW to trigger when the alarm is triggered - press HIGH to LOW and HIGH again.

I'm looking in the library for the method responsible for the alarm action, but I can not find it.

I also tried SetSquareWavePinClockFrequency set to 1Hz but it did not work as I expected.

What do you recommend?

Makuna commented 5 years ago

Please follow the guidelines for creating issues. This is not a place to ask questions, this is where active bugs in the library are registered. The Wiki and Readme point toward the Gitter channel for asking questions and you will get faster responce times.

Which RTC hardware are you working with? Alarms are not available on all the devices. DS3231, look at the example DS3241_Alarms.ino DS3234, look at the example DS3234_Alarms.ino

Closing due to just being a question.