my name is Giuse64 and after having introduced myself in the special section I am writing to you about my problem with the programming of the nodemcu esp8266.
As I explained I am very distressed in programming with C ++, I have run some Arduino projects with the related scketch that I found on the net, some with problems and others not and now I find myself stuck with this and I do not understand why.
What I want to achieve is a clock with the led strip piloted of the ESP8266 like those that are on the net but with a particular structure that is my thing and we say that is not the problem.
The sketch and the libraries are here:
The error I get is this:
Error when compiling the Nodemcu ESP 8266 or better
SECS_PER_HOUR was not declared in this scope
time_t _syncInterval = SECS_PER HOUR;
return secsSince1970 + (time_t) (totalOffset * SECS_PER HOUR);
If I understood correctly the problem is related to the library ntp.h and ntp.cpp
I tried other libraries but nothing.
The card is set well in the IDE of Arduino because other sketches safely load them except this :-(.
Please could you help me?