We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1933fc7 commit a13c873Copy full SHA for a13c873
NTP_Example.ino
@@ -123,6 +123,11 @@ bool getNTPtime(int sec) {
123
return true;
124
}
125
126
+
127
+// This function is obsolete because the time() function only calls the NTP server every hour. So you can always use getNTPtime()
128
+// It can be deleted and only stays here for the video
129
130
+/*
131
void getTimeReducedTraffic(int sec) {
132
tm *ptm;
133
if ((millis() - lastEntryTime) < (1000 * sec)) {
@@ -136,6 +141,7 @@ void getTimeReducedTraffic(int sec) {
136
141
ptm = localtime(&now);
137
142
timeinfo = *ptm;
138
143
144
+*/
139
145
140
146
void showTime(tm *localTime) {
147
Serial.print(localTime->tm_mday);
0 commit comments