'localtime' was not declared in this scope
Posted: Thu Aug 16, 2018 10:19 am
I am working with an esp8266 NodeMcu 1.0 building a 2 zone sprinkler system, I had everything working and wanted to make some code changes to it but one day I started getting this error
for time I am using these 3 libraries in my sketch
I have am unsure about what has changed in any of those includes and wanted to know if anyone else is having this issue or has come across something like it.
full code can be found at https://github.com/drifterz28/sprinkler ... -sprinkler
Code: Select all
'localtime' was not declared in this scope
for time I am using these 3 libraries in my sketch
Code: Select all
#include <NTPClient.h>
#include <Time.h>
#include <TimeLib.h>
I have am unsure about what has changed in any of those includes and wanted to know if anyone else is having this issue or has come across something like it.
full code can be found at https://github.com/drifterz28/sprinkler ... -sprinkler