// Build a formatted string char timeString[20]; sprintf(timeString, "%02d:%02d:%02d", myRTC.hours, myRTC.minutes, myRTC.seconds);
virtuabotixRTC library is a popular choice for interfacing Arduino boards with the DS1302 Real-Time Clock (RTC) virtuabotixrtch arduino library
There are two ways to install the library: virtuabotixrtch arduino library
// Build a formatted string char timeString[20]; sprintf(timeString, "%02d:%02d:%02d", myRTC.hours, myRTC.minutes, myRTC.seconds);
virtuabotixRTC library is a popular choice for interfacing Arduino boards with the DS1302 Real-Time Clock (RTC)
There are two ways to install the library: