  version 0019.  
  
  Circuit:
-  * Ethernet shield attached to pins 10, 11, 12, 13
+ * Ethernet shield attached to pins 10, 11, 12, 13
  
  created 21 May 2011
- updates 2 Mar 2012
  by Tom Igoe
  
  This code is in the public domain.

  currentLine.reserve(256);
  tweet.reserve(150);

// initialize serial:
  Serial.begin(9600);
  // attempt a DHCP connection:
  Serial.println("Attempting to get an IP address using DHCP:");
  if (!Ethernet.begin(mac)) {
    Serial.println("failed to get an IP address using DHCP, trying manually");
    // if DHCP fails, start with a hard-coded address:
    Ethernet.begin(mac, ip);
  }
  Serial.print("My IP address:");
  Serial.println(ip);
  // connect to Twitter:
  connectToServer();
}

  // note the time of this connect attempt:
  lastAttemptTime = millis();
}   

