Bob,
That's what i have on my code if you look back. Here is a sample take the minutes sample for example:
'Set the time
I2cwrite PORTC.2,PORTC.1,CONTL,$01,[rtcmin] 'minutes
the CONTL is the address of the RTC the $01 is the minutes register and the rtcmin is the value to be put in the register.
I hope you find my mistake.
Thanks





Bookmarks