void setup(void) { Serial.begin(9600); Serial.println("\*\*\*\*MCP7941X\*\*\*\*"); Wire.begin(); if (rtc.autoprobe()) { // Found something, hopefully a clock. Serial.print("Autoprobe found "); Serial.print(rtc.getDeviceName()); Serial.print(" at 0x"); Serial.println(rtc.getAddress(), HEX); } // rtc.clearPowerFailFlag(); // Enable the battery backup. This happens by default on the DS1307 // but needs to be enabled on the MCP7941x. rtc.enableBatteryBackup(); // Ensure the oscillator is running. rtc.startClock();