[AVR] Problem displaying Date and Time using IN1307

Status
Not open for further replies.

NewbeeAVR

Junior Member level 2
Joined
Dec 2, 2017
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
195
I am displaying date and time on LCD. I first wrote date and time to 1307 and put a while loop that reads values stored in location 0x00 to 0x07 to an array. Then I wrote a function to decode that value to display on LCD.

The problem is inside while loop the time and dates are not updating. It keeps on displaying the first written time.

What may be the problem?

PS: using read function I read 0x00 location and displayed the value it is updating. Similarly the minute value is updating for every minute.
 

Hi,

The problem is inside while loop the time and dates are not updating. It keeps on displaying the first written time.
Maybe it´s in line #13 of your code, or maybe in line #55.

How can we know? --> Show your code...

Klaus
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…