This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I am looking code for interface to 24LC256

I am looking code for interface to 24LC256. The code should be check error if device not present when read data from device etc.

====================================
bit write_eeprom(unsigned int address,unsigned char dat);
return : 0 if not error
: 1 if have error
====================================
bit read_eeprom(unsigned int address);
return : 0 if not error
: 1 if have error

and how to get data when use read_eeprom(address)


Thanks.

0