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