with no problem, if I also include the: #include <WidgetRTC.h>
I get the followings errors:
In file included from C:\Users\Igor\Documents\Arduino\myReef2_Mega\myReef2_Mega.ino:17:0:
C:\Users\Igor\Documents\Arduino\libraries\Blynk/WidgetRTC.h: In function 'time_t WidgetRTC_impl::requestTimeSync()':
C:\Users\Igor\Documents\Arduino\libraries\Blynk/WidgetRTC.h:36:5: error: 'Blynk' was not declared in this scope
Blynk.syncVirtual(WidgetRTC::mPin); // Request RTC widget update from the server
I’m using ESP8266_Lib.h and BlynkSimpleShieldEsp8266.h as Blynk libraries (that’s obiously I’ve included on my sketch).
Using only WidgetRTC.h and Time.h the problem doesn’t change.
@Lichtsignaal, my sketch is over 2500 lines… I think it’s impossible to post here. @Costas, okay, but I’ve tried with only WidgetRTC.h and Time.h and the problem persist.
That is a big one indeed. Have you tried the simple examples? I always go from there and integrate them into my own sketches via copy/paste. That way I’m pretty sure it’ll work like I want it too.
Ok, maybe this it’s the problem, but to verify I need to rewrite all my code using the Time.h … I need much time to do.
Anyway thanks for your suggest!