problem wth ds1307 and LCD while counting the number of seconds.

Status
Not open for further replies.

ARAVINDHANK

Newbie level 6
Joined
Jan 23, 2013
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,353
I want to display the counts of seconds for each 10 seconds. It works as: when second reaches 10, the count=1, but when the second reaches 14 the count becomes 2 and 3 at 20th second and so on. Can anybody solve this problem........?
the code is :
"div=I2CData[0]/10; //here I2CData[0] is seconds
cnt=div;"
 

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…