Im working on a project with a gsm modem at the moment and want to save the recipient phone number in the eprom so it can be changed without having to reprogram the arduino. Im stuck when it comes to storing the large phone number in the eprom. my guess is i have to split it into individual intergars and save them as bytes all in a loop sequence?... but im not sure how to split it up. does anyone have any other ideas? or any help to get me started will be great. thanks for reading .luke

i want to loop though the data coming in from the serial port and add each char into a new memory location the idea is to use a unique char to indicate the begining and end of the char array so i can use the serial port of other tasks etc not just this . So for this example "$" means start and "*" end of the data . ($123456789*)

Can someone help me get started adding the chars between "$" and "*" ?

// We are here either because all pending serial // data has been read OR because an end of // packet marker arrived. Which is it? if(started && ended) { // The end of packet marker arrived. Process the packet

Sorry for the late reply , Paul that was exactly what i was after . For anyone whos intrested i got it working by just looping though the inData array in pauls code and then doing an eprom write with the address + 1 each time. All this was inserted into the "if(started && ended) " section.