Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By hugch
#37117 Thanks for your reply. Could you post your code?
I'm not sure, but i think there is one specific bit which have to be set to high while setting the current time.
But i can't check it this year. Sorry.
User avatar
By bobcroft
#37449 Kalle, Thanks for your reply. I did manage to sort out the problem using a different library with update method. I'll upload the code later if I can figure out how to do it. I have never uploaded code before.

Bob
User avatar
By Pioterk
#59585 I have just tested the NTP Adjust library. I found that it does not handle day of week properly - it has "0" hardcoded for wday. In order to fix it you will need to go to Sodaq_DS3231.cpp and in line 100 change wday=0 to

wday = (days+4) % 7;

it is the line with comment "// FIXME This is not properly initialized"