char* EEwritestring(const unsigned char page, const unsigned char EE_BASE, ram char* origen) { char i; for (i=0; EEwrite(page, EE_BASE + i, *origen++); i++); EEwrite(page, EE_BASE + i, '\0'); return origen; }//
void ProcessCmd() { if ( (strcmp_P( command, PSTR("/id?")) == 0) && ( (arg_count == 0) || (arg_count == 1)) ) { Id("Eeprom"); } if ( (strcmp_P( command, PSTR("/ee?")) == 0) && (arg_count == 1 ) ) { EEread(); } if ( (strcmp_P( command, PSTR("/ee")) == 0) && (arg_count == 2 ) ) { EEwrite(); } }