Serial.print("Date: "); Serial.print(myRTC.dayofmonth); Serial.print("/"); Serial.print(myRTC.month); Serial.print("/"); Serial.println(myRTC.year);
That’s where Real Time Clocks (RTCs) come in, and specifically, where the shines. virtuabotixrtch arduino library
/* Virtuabotix RTC DS1302 Example */
To use the library, you must initialize the virtuabotixRTC object with your chosen pins and use specific methods to manage time. Setting the Initial Time Serial
Have questions or found a bug? Check the official discussion threads on the Arduino Forum or the Virtuabotix GitHub issues page. virtuabotixrtch arduino library