We have been working on with our project that involves rtc, specifically ds3132, lcd and a keypad. Our project is to create a time clock which can be set through the keypad and displayed on the lcd.. However, there seems to be a problem that whenever I declare a function, which merely contains a display on the lcd and a delay, after setting up the time. The time will not begin at where I intended to set. If the declaration of the function is removed, the rtc's reading of the time would begin exactly where I set............ your response would be very appreciated much to us.