Is it possible for the arduino to store settings in eeprom and then be able to change them over a serial port connection? For example:
You send "1" over the serial port then you get this:
[Change IP address] press "2"
Then you press "2" and:
[type IP new address]
You type it in:
[new IP confirmed]
And you just changed the IP address without reprogramming it.
Thanks,
Elijah
Yes, of course.
Just check some of the EEPROM examples.
(sp. "confirmed")
Thanks!
Yes my spelling is just horrible!
Elijah
Because an ip address has 4 bytes would I use 4 eeprom bytes? How do I have the arduino store the ip address once I entered it in over the serial port?
4 bytes would be most efficient use of the space, yes.
Probably have to buffer it like "255.255.255.255" which is 3x4+3 hmmm, 16 byte buffer and then convert from string to uint8 and then EEPROM.write it out.
function might be called atoi or you could get math involved.
Sorry, I'm a newbie and don't really understand what you just said. :-?
Can you explain it in an "abridged" version perhaps? 
Any code would be appreciated.
Thanks,
Elijah
What KyleK was saying was, you would need to capture your IP address as ASCII from the serial line.
Now, www.xxx.yyy.zzz takes at most (4 x 3) + 3 bytes = 15 bytes to store.
Held as a C string, you'd need a 16 byte buffer to account for the null terminator.
Then you'd have to pick it apart (parse it) to extract the four bytes that comprise the IP address.
Post code for what? Receiving the string? Parsing it? Storing the bytes in EEPROM?
Really, you'd be much further ahead if you broke this into parts, and learned to write each part yourself.
There are plenty of examples on the forum for how to receive a string. Parsing it using strtok is trivial. Saving the results in EEPROM is not hard, either.