Library — Virtuabotixrtc.h Arduino
The example usually uses pins 6, 7, 8, but these can be changed in the constructor virtuabotixRTC myRTC(SCLK, I/O, RST) Problem with code for Arduino using an RTC - Programming
Once you call myRTC.updateTime(); , the library populates the following public variables that you can use in your code: virtuabotixrtc.h arduino library
Once wired, you need to create an object representing your RTC. The constructor requires three arguments: the reset pin, the data pin, and the clock pin. The example usually uses pins 6, 7, 8,