AceTimeClock  1.3.0
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
ClockInterface.h
1 /*
2  * MIT License
3  * Copyright (c) 2021 Brian T. Park
4 */
5 
6 #ifndef ACE_TIME_CLOCK_INTERFACE_H
7 #define ACE_TIME_CLOCK_INTERFACE_H
8 
9 #include <stdint.h>
10 #include <Arduino.h>
11 
12 namespace ace_time {
13 namespace hw {
14 
25  public:
27  static unsigned long millis() { return ::millis(); }
28 };
29 
30 }
31 }
32 
33 #endif
A utility class that provides a layer of indirection to the Arduino clock functions (millis() and pot...
static unsigned long millis()
Get the current millis.