AceTime
1.7.2
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
src
ace_time
hw
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
24
class
ClockInterface
{
25
public
:
27
static
unsigned
long
millis
() { return ::millis(); }
28
};
29
30
}
31
}
32
33
#endif
ace_time::hw::ClockInterface
A utility class that provides a layer of indirection to the Arduino clock functions (millis() and pot...
Definition:
ClockInterface.h:24
ace_time::hw::ClockInterface::millis
static unsigned long millis()
Get the current millis.
Definition:
ClockInterface.h:27
Generated by
1.8.17