Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[AVR] Problem displaying Date and Time using IN1307

Status
Not open for further replies.

NewbeeAVR

Junior Member level 2
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top