I replaced the DS1307 with VS1307 which seems to work.
Is there any other way to convert the data to dec other than:
I2CRead SDA, SCL, $D0, $00, [A]
Sec1=(A.0*1)+(A.1*2)+(A.2*4)+(A.3*8)
Sec10=(A.4*1)+(A.5*2)+(A.6*4)
I replaced the DS1307 with VS1307 which seems to work.
Is there any other way to convert the data to dec other than:
I2CRead SDA, SCL, $D0, $00, [A]
Sec1=(A.0*1)+(A.1*2)+(A.2*4)+(A.3*8)
Sec10=(A.4*1)+(A.5*2)+(A.6*4)
Last edited by menta; - 5th July 2008 at 09:21.
Bookmarks