AceTimeClock
1.3.0
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
|
A utility class that provides a layer of indirection to the Arduino clock functions (millis() and potentially micros() in the future). More...
#include <ClockInterface.h>
Static Public Member Functions | |
static unsigned long | millis () |
Get the current millis. | |
A utility class that provides a layer of indirection to the Arduino clock functions (millis() and potentially micros() in the future).
Not to be confused with the ace_clock::clock::Clock
base class.
This indirection allows injection of a different ClockInterface for testing purposes. Since this class uses non-virtual, static functions, the compiler will optimize away the function call.
Definition at line 24 of file ClockInterface.h.