Interfacing RTC ds3231 with Arduino Mega2560 on P10

I want to display Date and Time using RTC DS3231 and Arduino Mega 2560 on P10 .
PLease help me with the same.

Following COde i used .PLease Help me with the same.
But I am not getting anything on p10

Arduino_Forum.txt (18.5 KB)

1. Do you want tp connect the following DS3231 Module with MEGA Board?
ds3231Module.jpg

2. Do you want to set the initial time of the day inside the RTC of the Module?

3. Do you want read the running time of the day from the RTC and show it on Serial Monitor?

4. Do you want read the running time of the day from the RTC and show it on LCD?

What is P10?

ds3231Module.jpg