Virtuabotixrtch Arduino Library Guide
virtuabotixRTC
The library is a dedicated tool for interfacing Arduino microcontrollers with the DS1302 Real-Time Clock (RTC) module. It simplifies the process of setting, updating, and retrieving time data—including seconds, minutes, hours, days, months, and years—from the chip. Core Features
Serial.print(2000 + myRTC.year);
Time Not Updating:
Check your wiring! The DS1302 is sensitive to loose jumper wires. virtuabotixrtch arduino library
- Supports seconds, minutes, hours, day of week, date, month, and year.
- Handles leap years.
- 12-hour or 24-hour mode (though library typically returns 24-hour).
- Simple read/write functions.