dual pulse spot welder code issues

I first want to thank everyone who posts their code to share with those like me.
I admit I can’t code. I have been trying to find a good base code to hopefully get working to help me learn. I found this and have been having issues getting it to compile. I just do not understand what the errors mean or how to fix them.

I have this error

no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)'
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <DS3231.h>

LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
DS3231 rtc(SDA, SCL);

// Rotary Encoder Related
const int clkPin = 8; // A
const int dataPin = 9; // B
const int swPin = 10; // Button
int getEncoderMovement();

const int weldBtn = 13;
const int weldOutput = 11;

long buttonStartTime = 0;
long buttonEndTime = 0;
long charTimeStart = 0;
long charTimeEnd = 0;
int menuSwitchTime = 2; // Seconds of constant button push to switch modes
int menuChoice = 1;
int oldMenuChoice = 1;
int pulseChoice = 1;

bool optionsMode = false;
bool weldBtnDown = false;
bool characterVisible = false;
bool enterMode = false;
bool modeChanged = false; // to prevent modes from changing when the encoder button is constantly pressed
bool oneTwoPulse = false;

I appreciate your help.

Hi, Welcome to the Forum.

Can you post your entire code please?

Thanks.. Tom.. :) PS Have given you a Karma point as you used code tags in your first post, means you read the forum instructions. :) :)

Looks like you are trying to call a function that does not exist. Look at the examples for your DS3231 library to see how the library is used:

File → Examples → DS3231 → (name of example sketch)

The example from the library I have (may be a different library) says:

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

DS3231 Clock;

Note how the ‘constructor’ function doesn’t take any arguments (probably because there is only one I2C/TWI/Wire interface on the Arduino UNO so it already knows the pins).