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 11#include " NTPUtils.h"
22#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+
38
49// could be a constexpr in C++14
510static time_t cvt_TIME (char const *time) {
Original file line number Diff line number Diff line change 11#ifndef __NTP_UTILS__
22#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+ */
37
48#include " Udp.h"
59#include < time.h>
You can’t perform that action at this time.
0 commit comments