Virtuabotixrtch Arduino Library

module. It simplifies the process of setting and reading time (seconds, minutes, hours) and dates (day, month, year) from the module. Arduino Project Hub Core Functionality Time Management

void loop() // This function reads the current time from the module myRTC.updateTime(); virtuabotixrtch arduino library

Technical Documentation Date: April 2026 Document ID: ARD-LIB-VBRTC-01 module

If the time resets to your initial code settings every time you power on, ensure you commented out the setDS1302Time line after the first successful run. The library works by creating an RTC object

The library works by creating an RTC object and using specific methods to manage time. 1. Initialize the Object Define your pins in the order: CLK , DAT , RST . virtuabotixRTC myRTC(6, 7, 8); Use code with caution. Copied to clipboard 2. Set the Time

: Provides straightforward functions to set and update time without complex I2C protocols.