      }
   }
   matrix.writeDisplay();
-
-  Serial.println(F("Waiting 20 seconds..."));
-  delay(20000);
-
-//  matrix.clear();
-  matrix.drawPixel(0, 0, LED_YELLOW);
-  matrix.writeDisplay();
-//  delay(500);
 }
 
 void listSSIDResults(void)

  matrix.clear();
  matrix.drawPixel(0, 0, LED_RED);
  matrix.writeDisplay();
//  delay(500);
  
  connect();
}

void connect() {
    Serial.println(F("Hello, CC3000!\n")); 

  Serial.print("Free RAM: "); Serial.println(getFreeRam(), DEC);
  
  /* Initialise the module */

  cc3000.disconnect();
}

void findNextPicture(char *pixelPic) {
  Serial.print(F("\nConnecting to http://"));
  Serial.print(WEBSITE);
  Serial.println(WEBPAGE);

   /* Try connecting to the website.
     Note: HTTP/1.1 protocol is used to keep the server from closing the connection before all data is read.
  */
