I am having a problem compiling this sketch. Arduino 1.8.5 / NodeMCU 1.0
After collecting all necessary libraries I get this fatal error
Arduino: 1.8.5 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from /Users/Zerah/Documents/Arduino/libraries/NTP/ntp.cpp:13:0:
/Users/Zerah/Documents/Arduino/libraries/NTP/ntp.h:38:25: error: 'SECS_PER_HOUR' was not declared in this scope
time_t _syncInterval = SECS_PER_HOUR;
^
/Users/Zerah/Documents/Arduino/libraries/NTP/ntp.cpp: In member function 'time_t NTP::getNtpTime()':
/Users/Zerah/Documents/Arduino/libraries/NTP/ntp.cpp:54:53: error: 'SECS_PER_HOUR' was not declared in this scope
return secsSince1970 + (time_t)(totalOffset * SECS_PER_HOUR) ;
^
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
I am including the necessary chrismelba NTP library. Any help would be appreciated
Zerah