25 #ifndef ACE_ROUTINE_CLOCK_INTERFACE_H
26 #define ACE_ROUTINE_CLOCK_INTERFACE_H
31 namespace ace_routine {
43 static unsigned long millis() { return ::millis(); }
46 static unsigned long micros() { return ::micros(); }
63 static unsigned long seconds() { return ::millis() / 1000; }
A utility class (all methods are static) that provides a layer of indirection to Arduino clock functi...
static unsigned long seconds()
Get the current seconds.
static unsigned long micros()
Get the current micros.
static unsigned long millis()
Get the current millis.