esp8266-weather-station-color
esp8266-weather-station-color copied to clipboard
error message
I've got the next error message invalid conversion from 'const char*' to 'long int' [-fpermissive]
in the next line
configTime(TIMEZONE.c_str(), NTP_SERVERS);
How can I solve it?
ESP8266 Arduino.h defines configTime() for both POSIX TZ strings (preferred) as well as timezone int and offset seconds (old API).
See https://github.com/esp8266/Arduino/blob/master/cores/esp8266/Arduino.h#L273-L301