Virtuabotixrtch Arduino Library Access
Alternatively, extract the folder into your Documents/Arduino/libraries folder. Wiring the DS1302 to Your Arduino
At the heart of the VirtuabotixRTC library is the itself. While the Arduino has an internal timer (the millis() function), it's not a true real-time clock. The Arduino's timer stops counting when power is removed or the board is reset, and it's not designed for keeping accurate track of calendar days, months, and years. virtuabotixrtch arduino library
Once the library is installed and your DS1302 is wired up, you can run a simple sketch to see it in action. Here is a basic, well-documented example: virtuabotixrtch arduino library