I have successfully used MPLAB C-18 library to store data in 24cxx devices.
My question is how to modify the C-18 library to work for 24c512 EEPROM as it reqiures 16-bit address.
In 24cxx devices we provide 1 byte address while i have to provide 2 byte address. Now how to provide 2byte address? I am using C-18 library function " EEByteWrite"
C18 ids 8 bit device... it doesnt matter....
just perform two write cycles....
8 bit each... if you folllow datasheet of 24C512 u can easily understand dat...