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 35e6016 commit eae9724Copy full SHA for eae9724
NTPClient.cpp
@@ -21,6 +21,8 @@
21
22
#include "NTPClient.h"
23
24
+NTPClient::NTPClient() {}
25
+
26
NTPClient::NTPClient(int timeOffset) {
27
this->_timeOffset = timeOffset;
28
}
NTPClient.h
@@ -26,6 +26,7 @@ class NTPClient {
void sendNTPPacket(IPAddress _timeServerIP);
public:
29
+ NTPClient();
30
NTPClient(int timeOffset);
31
NTPClient(const char* poolServerName);
32
NTPClient(const char* poolServerName, int timeOffset);
examples/Basic/Basic.ino
@@ -6,7 +6,7 @@ const char *password = "<PASSWORD>";
6
7
8
9
-NTPClient timeClient();
+NTPClient timeClient;
10
11
void setup(){
12
Serial.begin(115200);
0 commit comments