, to calibrate the clock with seconds, minutes, hours, day of the week, day of month, month, and year. Direct Member Access
To use this library, you’ll typically connect your RTC module to the following pins (you can change these in the code): 5V (or 3.3V depending on your module) GND: GND CLK (Clock): Pin 6 DAT (Data): Pin 7 RST (Reset/Chip Select): Pin 8 The Code: Setting and Reading Time virtuabotixrtch arduino library
This example sets the date and time to March 15, 2023, 12:00:00, and then prints the current date and time to the serial console every second. to calibrate the clock with seconds