Compile Error Message

Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Users\qdhkthr\AppData\Local\Temp\arduino_modified_sketch_677287\Sweep.ino: In function 'void loop()':

Sweep:58: error: expected '}' at end of input

lcd.print(millis() / 1000);


exit status 1
expected '}' at end of input

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Do not hijack. Thread split.

So you're missing one or more } somewhere.

Use tools -> auto format in the IDE it it will probably become clear where.

And post your code for further help.