Virtuabotixrtc.h Arduino Library !!top!! Jun 2026

The library manages time by updating specific object variables. It does not require complex data structures to read or write time values. Core Variables myRTC.seconds — Tracks current seconds (0-59) myRTC.minutes — Tracks current minutes (0-59) myRTC.hours — Tracks current hours (0-23) myRTC.dayofWeek — Tracks day numerical value (1-7) myRTC.dayofMonth — Tracks calendar day (1-31) myRTC.month — Tracks current month (1-12) myRTC.year — Tracks four-digit calendar year Essential Methods

You can install the VirtuabotixRTC library in two ways: virtuabotixrtc.h arduino library

Important: The DS1302 requires a backup battery (usually a CR2032) to keep time when the Arduino is unplugged. Ensure the battery is installed and has a charge above 2.5V. The library manages time by updating specific object

Make sure the RTC module is powered with 5V and has its backup battery installed, as this keeps the clock running when the main power is off. Ensure the battery is installed and has a charge above 2

If you want, I can:

To get started with the Virtuabotix RTC library, follow these steps: