 
 // this method makes a HTTP connection to the server:
 void httpRequest(int sensor, int value) {
+  Serial.println("sending...");
+    
   // close any connection before send a new request.
   // This will free the socket on the WiFi shield
   sendClient.stop();

byte mac[] = {
  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
};
IPAddress ip(192, 168, 2, 15);

// Google DNS

    sendClient.println("Connection: close");
    sendClient.println();

    Serial.println("sent");

    //sendClient.print("Content-Length: ");
    //sendClient.println(postData.length());
    //sendClient.println();
    //sendClient.println(postData);
    // sendClient.println();

    // note the time that the connection was made:
    lastConnectionTime = millis();

    // give time to se
    //delay(1);
  }
  else {
    // if you couldn't make a connection:
    Serial.println("connection failed" + String(connected));
  }
}

