Real Time Clock Help for PICAXE 18x

Status
Not open for further replies.

johnjohn

New Member
Hi, im just starting robotics and dedcided to start with picaxe. I have fully read the datasheets and i am unable to find why the RTC clock dosnt stop at 60, but instead counts to 90 while skipping a few, and that after the minutes goes to 21, it resets. I would like my output in 60:60:60 can any one help me out here?

here is my picaxe 18x basic programming (the circuit seems fine)

===================================
main:
i2cslave %10100010, i2cfast, i2cword
writei2c 0, ($00,$00,$00,$00,$00,$00)
b7=1
goto maintwo

maintwo:
b7=1+b7
readi2c 0, (b0,b1,b2)
sertxd ( " Time: ", #b2, ":", #b0, ", and ", #b1, " Seconds; Term:" ,#b7,cr,lf )
pause 999
goto maintwo
==============================
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…