title: Having problems with the DS3231.h library
body: <p>Dear Stack Exchange community.</p>
  
  <p>I'm a beginner Arduino user and am attempting to replicate a 24-hour alarm clock demonstrated in a tutorial found at: <a href="https://diyhacking.com/arduino-alarm-clock-using-real-time-clock-lcd-screen/" rel="nofollow noreferrer">https://diyhacking.com/arduino-alarm-clock-using-real-time-clock-lcd-screen/</a>. </p>
  
  <p>I downloaded and installed all the most updated libraries associated with the DS3231 Real Time Clock module. </p>
  
  <p>When I attempt to run the following program (I am not the author of this code, as it is directly taken from the page I linked above), I am met with an error that seems to be a result of missing a key library. </p>
  
  <p>Can anyone tell me which libraries I need to install to eliminate the error?</p>
  
  <pre><code>#include &lt;DS3231.h&gt;
  #include &lt;Wire.h&gt;
  #include &lt;LiquidCrystal.h&gt;
  
  LiquidCrystal lcd(2, 3, 4, 5, 6, 7);
  DS3231  rtc(SDA, SCL);
  Time  t;
  #define buz 11
  
  int Hor;
  int Min;
  int Sec;
  void setup() {
    Wire.begin();
    rtc.begin();
    Serial.begin(9600);
    pinMode(buz, OUTPUT);
    lcd.begin(16,2);
    lcd.setCursor(0,0);
    lcd.print("DIYHacking.com");
    lcd.setCursor(0,1);
    lcd.print("Arduino Alarm ");
    delay(2000);
  }
  
  void loop() {
    t = rtc.getTime();
    Hor = t.hour;
    Min = t.min;
    Sec = t.sec;
    lcd.setCursor(0,0);
    lcd.print("Time: ");
    lcd.print(rtc.getTimeStr());
    lcd.setCursor(0,1);
    lcd.print("Date: ");
    lcd.print(rtc.getDateStr());
    if( Hor == 11 &amp;&amp;  (Min == 32 || Min == 33)) {
      //Comparing the current time with the Alarm time
      Buzzer();
      Buzzer();
      lcd.clear();
      lcd.print("Alarm ON");
      lcd.setCursor(0,1);
      lcd.print("Alarming");
      Buzzer();
      Buzzer();
    }
    delay(1000);
  }
  
  void Buzzer() {
    digitalWrite(buz,HIGH);
    delay(500);
    digitalWrite(buz, LOW);
    delay(500);
  }
  </code></pre>
  
  <p>The error returned when I compile and run this program is as follows:</p>
  
  <pre><code>sketch_oct29c:17: error: no matching function for call to 
  'DS3231::DS3231(const uint8_t&amp;, const uint8_t&amp;)'
  
   DS3231  rtc(SDA, SCL);
  
                   ^
  </code></pre>
  
  <p>Can anyone suggest a fix for this?</p>
  
  <p>The following libraries are those that I installed:</p>
  
  <ul>
  <li>DS3231,</li>
  <li>MD_DS3231,</li>
  <li>Rtc_by_Makuna,</li>
  <li>RTClib,</li>
  <li>RTCtime</li>
  </ul>
  
  <p>Cheers!</p>