void setup() { // Initialize the RTC module myRTC.begin();
// Create an instance of the VirtuabotixRTC class VirtuabotixRTC myRTC(rtcClockPin, rtcDataPin, rtcRstPin); virtuabotixrtch arduino library
Here is an example of how to use the Virtuabotix RTC Arduino Library to set the current date and time: void setup() { // Initialize the RTC module myRTC
delay(1000); }
#include <VirtuabotixRTC.h>
Copyright © 2015. All rights reserved.