How to store sting in external eeprom?

i am using arduino due+ 24c64 A (memory ic), i have successfully store integer in memory , now i want to make a program to sore database of a company so i need to store string.
please suggest me how to store string in memory.

Store every byte of the string’s text including the trailing null char so that you can read it again and know where to stop.

If you have multiple data to store and only one string then you might want to have the string as the last element (this way it can grow or shrink without consequences on the other stored data). If you have multiple variable length elements, you’ll have to decide a max size so that the start address can be calculated.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.