Like ONE HOUR has elapsed since your initial post and you're bugging people for an answer... on a SUNDAY when almost all the professionals are home lazing by the pool and very few folks are actually looking at the forum.
Code:
I2CAddress var Byte
RTCRegister var Byte
RegisterContents var Byte
I2CAddress=$D0
I2CRead SDA,SCL,I2CAddress,RTCRegister,[RegisterContents],I2CError
Look in the PBP manual to see what I've written. Look in the RTC's Datasheet to discover what the Registers are and what they contain. Go to the MELabs website, download and study an RTC example that's posted there...
Bookmarks