Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PCF8523 alarms #241

Open
VallesMarinerisExplorer opened this issue Aug 19, 2021 · 1 comment
Open

Add support for PCF8523 alarms #241

VallesMarinerisExplorer opened this issue Aug 19, 2021 · 1 comment

Comments

@VallesMarinerisExplorer

Hi RTClib,

I have an adafruit data logger shield with the PCF8523 and I want to wake up my arduino by sending a signal from the interrupt pin on the RTC. I have been looking at the example for the DS3231 for an alarm and trying to adapt the code for the PCF8523, but there are no alarm functions for the PCF8523. Is it possible to use the PCF8523 to create an alarm or am I limited by the hardware and should just get a DS3231?

Thanks!

Alex

@edgar-bonet
Copy link
Contributor

The PCF8523 does have an alarm mode, but it is not supported by RTClib. You could try to implement that support yourself, based on the datasheet of that RTC. Alternatively, depending on your timing requirements, the countdown timer may be usable, and it is supported by the library.

@caternuson caternuson changed the title PCF8523 vs DS3231 alarms Add support for PCF8523 alarms Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants