: This indicates a wiring failure. Double-check your CLK, DAT, and RST pin definitions in the code against your physical wiring layout.
The Virtuabotix RTC modules typically communicate via a 3-wire serial interface (I/O, SCLK, CE/RST) for the DS1302, or I2C for the DS1307/DS3231. virtuabotixrtc.h arduino library
#include // Creation of the Real Time Clock Object (CLK, DAT, RST) virtuabotixRTC myRTC(6, 7, 8); void setup() Serial.begin(9600); // Set time only on the first run: sec, min, hr, dow, day, month, year myRTC.setDS1302Time(00, 30, 15, 4, 16, 4, 2026); void loop() myRTC.updateTime(); // Pull latest data from the chip Serial.print("Current Date / Time: "); Serial.print(myRTC.dayofmonth); Serial.print("/"); Serial.print(myRTC.month); Serial.print("/"); Serial.print(myRTC.year); Serial.print(" "); Serial.print(myRTC.hours); Serial.print(":"); Serial.println(myRTC.minutes); delay(1000); Use code with caution. Copied to clipboard Installation and Availability : This indicates a wiring failure