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.