Two Arduino Source Code files are provided.
The first contains the functions for DST adjustment for your RTC. In the main body, a demo program is provided to show the working of these functions.
The second also contains a drift correction for a RTC. When the software is compiled again and uploaded to the Arduino, the drift between the current and previous upload is calculated. Than the clock is adjusted to the PC date/time and the RTC is weekly corrected for the average measured drift.
Jeroen Brinkman
Roni Bandini
M. Bindhammer
roy
That is certainly an option. But if an aluminium enclosure is used and/or your board has no WiFi, this is the option to go for. Because DST is not trivial. This approach, where the clock stays in wintertime, is a very elegant and simple solution. It will be included in the next version of "RTClib.h" when this is released.