New release of the swRTC library, that introduces two new methods, getDeltaT()
and setDeltaT()
. The first one is completely new and returns the current value of the correction used to align the RTC and the real time. The second one has been modified and now it accepts an int paramether: before it took a float. The new range is now from -8,400 to +8,400 tenths of a second while the previous method had a range between -840.0 and +840.0 seconds. This choice was made because the use of integers leads to a smaller and faster code compared to floats. The old method is still supported but it’s now deprecated and it could be removed in future releases of the library.
You can download the new release at this page.