#include <Wire.h>
#include <RTClib.h>

#define ledIn 2
RTC_DS1307 rtc;

void setup() {
  pinMode(ledIn, OUTPUT);
    Wire.begin();
  rtc.begin();


  rtc.adjust(DateTime(F(__DATE__), F(__TIME__))); // Set the RTC to the compilation time

  DateTime desiredTime = DateTime(rtc.now().year(), rtc.now().month(), rtc.now().day(), 7, 14, 0);
  rtc.adjust(desiredTime);
}

void loop() {
  DateTime currentTime = rtc.now(); 

  if (currentTime.hour() == 7 && currentTime.minute() == 3 && currentTime.second() == 0) {
    digitalWrite(ledIn, HIGH); 
  } else if(currentTIme.hour() == 7 && currentTime.minute() == 14 && currentTime.second() == 30) {
    digitalWrite(ledIn, HIGH); 
  }

  delay(1000);
}
GND5VSDASCLSQWRTCDS1307+
NOCOMNCVCCGNDINLED1PWRRelay Module