diff --git a/timeRequest.ino b/timeRequest.ino index 1cc52a3..4e0330b 100644 --- a/timeRequest.ino +++ b/timeRequest.ino @@ -20,7 +20,7 @@ #endif #define MY_RF24_CHANNEL 83 #define MY_BAUD_RATE 57600 -#define MY_DEBUG +//#define MY_DEBUG #define SKETCH_NAME "timeRequest" #define SKETCH_VERSION "20171203_01" @@ -109,8 +109,12 @@ time_t requestSync() { + Serial.print('['); + Serial.print(millis() / 1000); + Serial.println(F("]: Request time.")); + requestTime(); - delay(500); // wait for tiem receiving + delay(500); // wait for time receiving return 0; } // requestSync