So I'm making a clock and timer using arduino and i have all the code ready and setup but when i try to compile, it says setTime was not declared in this scope.
This is not the full code as its too long, just the beginning where the error is stated. I can post the full code if needed.
the set time is highlighted in bold.
int buttonPin2 = 3;
int buttonPin3 = 2;
int buzzerPin = 13;
int tSeconds=10, tMinutes=0, hours=0;
int centiseconds=0, sSeconds=0, sMinutes=0;
int button1Counter = 0;
int button1State = 0;
int lastButton1State = 0;
int button2Counter = 0;
int button2State = 0;
int lastButton2State = 0;
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
exit status 1
'setTime' was not declared in this scope
this is the full error code