FvM True, very true, thanks for correcting the mistake it is 0xA0 = 1010 0000 Binary
My problem is that I am trying to use I2C EEPROM 24C04 but I dont have necessary supporting files like those for 24C64. I used 24C64 in few simple test successfully, using the (drivers) include file 24C64.h and supporting file 24C24.c.
I dont have such files for 24C04.
Also I was not careful about the size of the addressable memory and I did not realize that for lower capacity it is one byte for 24C01 to 24C16 and for higher capacity from 24C32 onwards it is two bytes.
This means the accessing modes will be different as one byte can not address more than 256 bytes, I will see the data sheet carefully and try to understand this aspect.
So far as the default address is concerned, the data sheet says if the three addressing pins are not connected, the address will be 0xA0, if more than one chip is used on the I2C bus, the address pins are to be appropriately wired (and some corresponding change will have to be made in program or driver).
Can some one give link to resource giving those drivers for 24C04 ?