hi! i am using at89c52 controller and ds1307 rtc ic,and i want todisplay the time,date and day on the lcd.ds1307 is a i2c real time clock ic.
please reply me if any one has this type of code.
Consider your projecct in 3 parts:
1. Controlling the ds1307 rtc. For this part, the LCD is irrelevant - so just look-up stuff about using the ds1307 rtc. The Maxim/Dallas website would be the obvious place to start.
2. Controlling the LCD. For this part, the ds1307 is irrelevant - so just look-up stuff about using LCDs.
The final part of your project - once you have the first two working (and not before) - is to join them together.