Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Real Time Clock Help for PICAXE 18x

Status
Not open for further replies.

johnjohn

New Member
:rolleyes: 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.

Latest threads

New Articles From Microcontroller Tips

Back
Top