AceTime
0.3
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
|
A class that peridically freshens the SystemClock using the heartbeat call to getNow(). More...
#include <SystemClockHeartbeatLoop.h>
Public Member Functions | |
SystemClockHeartbeatLoop (SystemClock &systemClock, uint16_t heartbeatPeriodMillis=5000) | |
Constructor. More... | |
void | loop () |
Call this from the global loop() method to make SystemClock keep in sync with the system millis(). | |
A class that peridically freshens the SystemClock using the heartbeat call to getNow().
Call loop() from the global loop() method.
Definition at line 14 of file SystemClockHeartbeatLoop.h.
|
inline |
Constructor.
systemClock | the underlying SystemClock |
heartbeatPeriodMillis | millis between calls to getNow() (default 5000) |
Definition at line 23 of file SystemClockHeartbeatLoop.h.