The library stores years as two-digit (0 to 99). You must manually add 2000 in your print statement:
Once the time is set, you upload the final code to read the time continuously. virtuabotixrtch arduino library
You only need to set the time once (e.g., in setup() ). After uploading this once, the setDS1302Time line and re-upload so the clock doesn't reset every time the Arduino restarts. The library stores years as two-digit (0 to 99)
virtuabotixRTC library is a widely used Arduino library specifically designed to interface with the DS1302 Real-Time Clock (RTC) After uploading this once, the setDS1302Time line and
The VirtuabotixRTCH Arduino Library provides an easy-to-use interface for working with the Virtuabotix RTC module. Its features, such as automatic leap year detection and interrupt-based functionality, make it a reliable and efficient solution for various Arduino-based projects. By following the installation and example usage guidelines, you can quickly integrate the library into your projects and start working with accurate date and time information.