File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
#include " NTPUtils.h"
2
2
#include " Arduino.h"
3
+ /*
4
+ This Utility Class is derived from the example code found here https://www.arduino.cc/en/Tutorial/UdpNTPClient
5
+ For more information on NPT (Network Time Protocol) you can refer to this WikiPedia article https://en.wikipedia.org/wiki/Network_Time_Protocol
6
+ */
7
+
3
8
4
9
// could be a constexpr in C++14
5
10
static time_t cvt_TIME (char const *time) {
Original file line number Diff line number Diff line change 1
1
#ifndef __NTP_UTILS__
2
2
#define __NTP_UTILS__
3
+ /*
4
+ This Utility Class is derived from the example code found here https://www.arduino.cc/en/Tutorial/UdpNTPClient
5
+ For more information on NPT (Network Time Protocol) you can refer to this WikiPedia article https://en.wikipedia.org/wiki/Network_Time_Protocol
6
+ */
3
7
4
8
#include " Udp.h"
5
9
#include < time.h>
You can’t perform that action at this time.
0 commit comments