|
Arduino-RTC
Real-Time Clock (RTC) library for Arduino
|
#include <time.h>
Go to the source code of this file.
Classes | |
| class | RTC |
Macros | |
| #define | ONE_HOUR 3600 |
| #define | ONE_DEGREE 3600 |
| #define | ONE_DAY 86400UL |
| #define | UNIX_OFFSET 946684800UL |
| #define | NTP_OFFSET 3155673600UL |
| #define | isotime_r(tm, buf) (strftime (buf, 32, "%F %T", tm), buf) |
| #define | set_zone(x) _timezone = x |
| #define | get_zone() _timezone |
Enumerations | |
| enum | { SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY } |
| enum | { JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER } |
Copyright (C) 2017, Mikael Patel
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
Definition in file RTC.h.
| #define isotime_r | ( | tm, | |
| buf | |||
| ) | (strftime (buf, 32, "%F %T", tm), buf) |
| #define NTP_OFFSET 3155673600UL |
| #define ONE_DEGREE 3600 |
| #define set_zone | ( | x | ) | _timezone = x |
| #define UNIX_OFFSET 946684800UL |
| anonymous enum |