@adafruit - "we suggest reading the entirety of the RTC library " ok! :)
This has been my source for information on libraries, and I see no RTC library mentioned.
http://arduino.cc/en/Reference/LibrariesAny other sources I should be using? Thanks!
@ChuckM - I am using the correct format, I think: (snippet)
- Code: Select all | TOGGLE FULL SIZE
Wire.beginTransmission(chipAdress); // chipAdress = chip address on the TWI bus, not chip memory address. Starts loading buffer for 24LC256
startaddrMSB = highByte(startAddress); // takes the MSB off the memory address, first 7 bits
startaddrLSB = lowByte(startAddress); // takes the LSB off the memory location, second 8 bits
Wire.send(startaddrMSB); //First 7 bits of the address (Byte1)
Wire.send(startaddrLSB); //Second 8 bits of the address(Byte2) Internal Address Pointer is now ready to read/write at our desired location
(The 'Byte 1,2' is for keeping count of how many Bytes are in the buffer, waiting to be sent to the 24LC256. It can only hold 32 total before a
'Wire.endTransmission();' is sent, actually writing the data to the 24LC256.)
I am hoping that arduwino is pointing me at the source for an answer to this.
I have it working for now by saving the values for the RTC:" byte rtch = (now.hour()); // stores hour value for 24LC256 use" etc.
and using them in the other part of the sketch where the 24LC256 does not compete with the DS1307.
Late reply is because I forgot to check the 'notify me' box... checked now! ;)