 const unsigned long postingInterval = 10*1000; // wait 10 seconds
 boolean canConnect = false;
 
+const int redLed = 3;
+const int greenLed = 5;
+const int yellowLed = 6;
+
+
 void setup() {
   //Initialize serial and wait for port to open:
   Serial.begin(9600);
-  flash_led(13, 5, 100);
+  flash_3leds(redLed, greenLed, yellowLed, 5, 100);
   while (!Serial) { ; } // wait for serial port to connect.
-  flash_led(13, 5, 400);
+  flash_3leds(redLed, greenLed, yellowLed, 5, 400);
 
   // check for the presence of the shield:
   if (WiFi.status() == WL_NO_SHIELD) {

}


void flash_led(int pin, int number, int time)
{
  pinMode(pin, OUTPUT);
  for(int i=0; i<number; i++) {
    digitalWrite(pin, HIGH);
    delay(time);
    digitalWrite(pin, LOW);
    delay(time);
  }
}

// end of private info

int status = WL_IDLE_STATUS;
char server[] = "www.google.com";
//IPAddress server(74,125,225,113); // numeric IP for Google
//IPAddress server(192, 168, 1, 155); // numeric IP that doesn't work

WiFiClient client;

