Hello johnwasser !
Thank your for your reply.
If I change the adress 0x57 to 0x53 I have no reply from my device.
with 0x57
255...
255...
255...
In that case, the write function do not work.
I have already changed my function to integrate the write protection. If I present the password (Redirect Notice)
void M24LR16E_write(int adress){
int ad=2304;
Wire.beginTransmission(0x53);
Wire.write((int)(ad >> 8)); // MSB
Wire.write((int)(ad & 0xFF));
Wire.write((byte)0x00);
Wire.write((byte)0x00);
Wire.write((byte)0x00);
Wire.write((byte)0x00);
Wire.write((byte)0x09);
Wire.write((byte)0x00);
Wire.write((byte)0x00);
Wire.write((byte)0x00);
Wire.write((byte)0x00);
Wire.endTransmission();
Wire.beginTransmission(0x53);
Wire.write((int)(adress >> 8)); // MSB
Wire.write((int)(adress & 0xFF));
Wire.write((byte)0x00);
Wire.endTransmission();
}
But read at adress 0 still reply 255
with 0x53
...
...
...