Setting time using setEpoch() sets it one day wrong ?
And I have to set as_unix_epoch to true when setting time and false when reading to get it to work;
RTC.setEpoch(epoch - SECS_PER_DAY, true)
epoch = RTC.getEpoch(false);
have not investigated any deeper - but are using same code for DS1307 and that works without similar issues
Setting time using setEpoch() sets it one day wrong ?
And I have to set as_unix_epoch to true when setting time and false when reading to get it to work;
RTC.setEpoch(epoch - SECS_PER_DAY, true)
epoch = RTC.getEpoch(false);
have not investigated any deeper - but are using same code for DS1307 and that works without similar issues