Arduino-DCF77
Arduino-DCF77 copied to clipboard
Allow to use RTC instead of TimeLib.
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.