- Company
- About Us
- Partner
- My Account
- Support
- Support Center
- Download
- Chat Support
- Pre-Sales Inquiry
- Premium Service
void setup() { Wire.begin(); // Set time once (uncomment and adjust values then upload) // rtc.setDS1307Time(30, 59, 23, 7, 24, 3, 2026); // sec,min,hour,day,date,month,year }
#include <Wire.h> #include <VirtuabotixRTC.h>
VirtuabotixRTC rtc(0x68); // DS1307 I2C address
void setup() { Wire.begin(); // Set time once (uncomment and adjust values then upload) // rtc.setDS1307Time(30, 59, 23, 7, 24, 3, 2026); // sec,min,hour,day,date,month,year }
#include <Wire.h> #include <VirtuabotixRTC.h>
VirtuabotixRTC rtc(0x68); // DS1307 I2C address