Read String from Serial Input, parse it, and write it to the EEPROM.

for(int i=0; i < strlen(myCommand); i++)
{
if( myCommand == ':' ) comma++;

  • }[/quote]*
    This is a comma --> ,
    This is a colon --> :
    See the difference?
    * *    EEPROM.write(counter, int(tmpBuff));* *
    The int() macro is for people that think (int)tmpBuff looks weird. Personally, I'd have told those people to get over it. The int() macro does NOT convert a char array to an int. The atoi() function does that. All that it does is cast the address of the token to an int, which is hardly the data that you want to be storing in the EEPROM.