Uso di troppi "IF" con ethernet shield

Al posto di progmem puoi usare anche la sintassi F(. Anche cosí vengono messi i string nella memoria flash.
Sintassi:
Serial.print(F("This string will be stored in flash memory"));

vedi Arduino Playground - Printf in basso sotto Using Flash Memory for string storage.

Ciao Uwe