Virtuabotixrtch Arduino Library Guide
The VirtuabotixRTCH Arduino Library offers several features that make it easy to integrate the RTC module with Arduino boards:
If you are using the standard Virtuabotix DS1302 module, it typically requires a 3-wire interface (I2C is not used for the DS1302; it uses a serial protocol). virtuabotixrtch arduino library
// Create an instance of the VirtuabotixRTCH class VirtuabotixRTCH rtch(rtchPin, rtclPin); virtuabotixrtch arduino library