     // Begin I2C communication
     Wire.begin();
 
-    // Setup alarm two to fire every second
-    Clock.turnOffAlarm(1);
-    Clock.setA1Time(0, 0, 0, 0, 0b01111111, false, false, false);
-    Clock.turnOnAlarm(1);
-    Clock.checkIfAlarm(1);
+    // Setup alarm one to fire every second
+    myRTC.turnOffAlarm(1);
+    myRTC.setA1Time(0, 0, 0, 0, 0b01111111, false, false, false);
+    myRTC.turnOnAlarm(1);
+    myRTC.checkIfAlarm(1);
 
     // attach clock interrupt
     pinMode(CLINT, INPUT_PULLUP);

#include <DS3231.h>
#include <Wire.h>

// Clock interrupt pin
#define CLINT 2

// Setup clock
DS3231 Clock;

// Interrupt signaling byte
volatile byte tick = 1;

        state = ~state;
        digitalWrite(LED_BUILTIN, state);
        // Clear alarm state
        myRTC.checkIfAlarm(1);
    }

    // Loop delay to emulate other running code
    delay(10);
}

