Skip to content

Conversation

@DCEM
Copy link

@DCEM DCEM commented Apr 8, 2020

The constructor now additionally accepts:

  • EnableInputPullup
  • CompareToUTC

Allow to use RTC instead of TimeLib.

To archive this, you have to #define DCF77_USE_RTC before #include "DCF77.h".
This should work with any RTC. Since the DCF77 library needs to get the time from the RTC you need to put
the function call inside the RTC_Callback_Wrapper(). Look at the ZeroRTCSync example for more details.

DCEM added 5 commits April 6, 2020 14:23
Optional argument  to allow that will turn on the input-pullup.
TimeLib can be disabled via define, to archive compability with older versions.
A callback is used to allow different RTC.
The constructor additionally accepts: CompareToUTC
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

Successfully merging this pull request may close these issues.

1 participant