For my applied electronics class i am making a stopwatch with arduino, got all the wiring set up but I am getting a compiling error for this code
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int reply;
void loop() {;
lcd.begin(16, 2);
lcd.print("00:00");
delay(1000);
lcd.print("00:01");
delay(1000);
lcd.print("00:02");
delay(1000);
lcd.print("00:03");
delay(1000);
lcd.print("00:04");
delay(1000);
lcd.print("00:05");
delay(1000);
lcd.print("00:06");
delay(1000);
lcd.print("00:07");
delay(1000);
lcd.print("00:08");
delay(1000);
lcd.print("00:09");
delay(1000);
lcd.print("00:10");
delay(1000);
lcd.print("00:11");
delay(1000);
lcd.print("00:12");
delay(1000);
lcd.print("00:13");
delay(1000);
lcd.print("00:14");
delay(1000);
lcd.print("00:15");
delay(1000);
lcd.print("00:16");
delay(1000);
lcd.print("00:17");
delay(1000);
lcd.print("00:18");
delay(1000);
lcd.print("00:19");
delay(1000);
lcd.print("00:20");
delay(1000);
lcd.print("00:21");
delay(1000);
lcd.print("00:22");
delay(1000);
lcd.print("00:23");
delay(1000);
lcd.print("00:24");
delay(1000);
lcd.print("00:25");
delay(1000);
lcd.print("00:26");
delay(1000);
lcd.print("00:27");
delay(1000);
lcd.print("00:28");
delay(1000);
lcd.print("00:29");
delay(1000);
lcd.print("00:30");
delay(1000);
lcd.print("00:31");
delay(1000);
lcd.print("00:32");
delay(1000);
lcd.print("00:33");
delay(1000);
lcd.print("00:34");
delay(1000);
lcd.print("00:35");
delay(1000);
lcd.print("00:36");
delay(1000);
lcd.print("00:37");
delay(1000);
lcd.print("00:38");
delay(1000);
lcd.print("00:39");
delay(1000);
lcd.print("00:40");
delay(1000);
lcd.print("00:51");
delay(1000);
lcd.print("00:52");
delay(1000);
lcd.print("00:53");
delay(1000);
lcd.print("00:54");
delay(1000);
lcd.print("00:55");
delay(1000);
lcd.print("00:56");
delay(1000);
lcd.print("00:57");
delay(1000);
lcd.print("00:58");
delay(1000);
lcd.print("00:59");
delay(1000);
lcd.print("01:00");
delay(1000);
}
Here's the error message
Arduino: 1.6.6 (Windows 7), Board: "Arduino/Genuino Uno"
C:\Users\18ACCE~1\AppData\Local\Temp\build8a230ee06f8ce13424941fd87605bf73.tmp/core\core.a(main.cpp.o): In function `main':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:43: undefined reference to `setup'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Any ideas how i can fix it