   Serial.print(",");
   for (byte thisByte = 0; thisByte < 4; thisByte++) {
     // print the value of each byte of the IP address:
-    Serial.print(HOST[thisByte], DEC);
+    Serial.print(settings.host[thisByte], DEC);
     if (thisByte < 3) {
       Serial.print(".");
     }
   }
   Serial.print(",");
-  Serial.print(PORT);
+  Serial.print(settings.port);
   Serial.print(",");
   Serial.print(settings.feed);
   Serial.print(",");

  strcpy (settings.magic,MAGIC);
  settings.period = PERIOD;
  settings.feed = FEED;
  settings.apikey[0] = '-';
  settings.apikey[1] = '\0';
}

void setup() {

#endif

// Feed id
const long FEED = 0;
const char KEY[] = "-";

// Cosm configuration
IPAddress HOST(216,52,233,121);
const long PORT = 80;

// Assign a MAC address for the ethernet controller.
byte MAC[] = { 
  0x90, 0xA2, 0xDA, 0x0D, 0x1D, 0x95 };
  
// This configuration is used when DHCP fails
IPAddress IP(172,25,18,219);
