  
  Circuit:
  * WiFi BoosterPack
-
+ 
  Created: October 16, 2013 by Robert Wessels (http://energia.nu)
  Derived from example Sketch by Hans Scharler (http://www.iamshadowlord.com)
  
  */
- 
+
 #include "Ethernet.h"
 // Prototypes
 void printConfig();

  IPAddress mask = IPAddress(255,255,255,0);

  Ethernet.begin(0);
//  Ethernet.begin(0, ip, dns, gw);

  server.begin();


EthernetServer server(80);
int statusConfig = 0;

boolean newConnection = true;     // flag for new connections
unsigned long connectionActiveTimer;  // will hold the connection start time

void setup() {
  Serial.begin(115200);    

  pinMode(D1_LED, OUTPUT);
  pinMode(D2_LED, OUTPUT);
  pinMode(PUSH1, INPUT_PULLUP); // released = HIGH, pressed = LOW
  pinMode(PUSH2, INPUT_PULLUP);

  Serial.println("Connecting to Ethernet....");  
  IPAddress ip = IPAddress(146,252,242,129);
  IPAddress dns = IPAddress(146,252,242,12);
