Dear all,
If you read the datasheet of a 24C512 then you wil see this:
"device address,first word address,second word address,data"
so your line
is not correctCode:EWrite: I2CWRITE SDA,SCL,%10100000,Addr,[E_ByteOut]
it must be
EWrite:
I2CWRITE SDA,SCL,%10100000,Addr1,[Addr2,E_ByteOut]
the same for I2CREAD
Don't forget to mark the read bit.
Bookmarks