DC3231RTC with LCD and Ardiuno UNO for CLOCK!

Hello!

I want to use display time on LCD. Can you suggest codes that I can use? I have code for using RTC but I don't know how to combine them. When I tried to display seconds from the DC3231 it gives error. Arduino: 1.6.12 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Users\SALAMA~1\AppData\Local\Temp\untitled856238954.tmp\sketch_oct18a\sketch_oct18a.ino: In function 'void loop()':

sketch_oct18a:135: error: 'lcd' was not declared in this scope

lcd.clear();

^

exit status 1 'lcd' was not declared in this scope

Invalid library found in C:\Users\Salamat B\Documents\Arduino\libraries_RTCtime: C:\Users\Salamat B\Documents\Arduino\libraries_RTCtime Invalid library found in C:\Users\Salamat B\Documents\Arduino\libraries_RTCtime: C:\Users\Salamat B\Documents\Arduino\libraries_RTCtime

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

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

This post would have more information with some code posted between code tags.

So, where IS the code?

this should do the job

http://howtomechatronics.com/tutorials/arduino/arduino-ds3231-real-time-clock-tutorial/

Here's one I made: http://forum.arduino.cc/index.php?topic=408565.msg2823857#msg2823857 It uses a 16x2 character LCD. If you have two push buttons, you can use them to set the time.