AceTimeClock  1.3.0
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
AceTimeClock.h
1 /*
2  * MIT License
3  * Copyright (c) 2021 Brian T. Park
4  */
5 
17 #ifndef ACE_TIME_CLOCK_ACE_TIME_CLOCK_H
18 #define ACE_TIME_CLOCK_ACE_TIME_CLOCK_H
19 
20 // Blacklist boards using new Arduino API due to incompatibilities.
21 #if defined(ARDUINO_API_VERSION)
22 #error Platforms using ArduinoCore-API not supported
23 #endif
24 
25 #include "ace_time/clock/Clock.h"
26 #include "ace_time/clock/NtpClock.h"
27 #include "ace_time/clock/DS3231Clock.h"
28 #include "ace_time/clock/UnixClock.h"
29 #include "ace_time/clock/EspSntpClock.h"
30 #include "ace_time/clock/SystemClock.h"
31 #include "ace_time/clock/SystemClockLoop.h"
32 #include "ace_time/clock/SystemClockCoroutine.h"
33 
34 #if defined(ARDUINO_ARCH_STM32) || defined(EPOXY_DUINO)
35 #include "ace_time/clock/StmRtcClock.h"
36 #include "ace_time/clock/Stm32F1Clock.h"
37 #endif // #if defined(ARDUINO_ARCH_STM32) || defined(EPOXY_DUINO)
38 
39 // Version format: xxyyzz == "xx.yy.zz"
40 #define ACE_TIME_CLOCK_VERSION 10300
41 #define ACE_TIME_CLOCK_VERSION_STRING "1.3.0"
42 
43 #endif