 char *months     = 0;
 byte years       = 0;
 
+volatile bool FLAG = false;
+
 void setup()
 {
   // put your setup code here, to run once:
   Wire.begin();
   Serial.begin(9600);
   while(!Serial);
+
+  pinMode(7, OUTPUT);
+  digitalWrite(7, HIGH);
+
+  pinMode(3, INPUT);
+  attachInterrupt(digitalPinToInterrupt(3), INT1_ISR, FALLING);
   
   Serial.println(F("PCF8523 Registers:"));
   Wire.beginTransmission(deviceAddr);

void loop()
{  
  // put your main code here, to run repeatedly:
}

    reg += 1;
  }
  Serial.println();

  if(seconds >= 128)
  {
    Serial.println(F("/!\\ WARNING: RTC oscillator frozen. Recommend reset.\n"));
  }

  seconds  = (seconds & 0x0F)  + ((seconds >> 4) * 10);
  minutes  = (minutes & 0x0F)  + ((minutes >> 4) * 10);
