Hi snood,
Odd... You've got this:
a direct quote from the DS1307 datasheet:
"After the DS1307 acknowledges the slave address + write bit, the master transmits a word address to the DS1307."
I can't find that quote at all in my 1307 data sheet. Mine says this:
"The DS1307 operates as a slave device on the serial bus. Access is obtained by implementing a START condition and providing a device identification code followed by a register address."
"device identification code" and "register address" are both bytes.
My code works fine with bytes for both items.
Are you certain you're reading a 1307 data sheet - sounds more like the sheet for the 1340?
Arch
Bookmarks