   matrix.clear();
   matrix.drawPixel(0, 0, LED_RED);
   matrix.writeDisplay();
-//  delay(500);
   
   connect();
 }
 
 void connect() {
-    Serial.println(F("Hello, CC3000!\n")); 
-
+  Serial.println(F("Hello, CC3000!\n"));
   Serial.print("Free RAM: "); Serial.println(getFreeRam(), DEC);
   
   /* Initialise the module */

     }
  }
  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)

    return;
  }

  Serial.println(F("Reading data"));
  
  /* Read data until either the connection is closed, or the idle timeout is reached. */ 

  String body = "";
  char lastChars[] = "12345678";
  boolean bodyIsNext = false;

  unsigned long lastRead = millis();
  while (www.connected() && (millis() - lastRead < IDLE_TIMEOUT_MS)) {
    while (www.available()) {
      char c = www.read();

      for (int i = 0; i < sizeof(lastChars) - 2; i++) {
        lastChars[i] = lastChars[i+1];
      }
      lastChars[sizeof(lastChars) - 2] = c;

      if (bodyIsNext) {
        body += c;
      }

      if (strcmp(lastChars, "\r\n\r\n40\r\n") == 0) {
        bodyIsNext = true;
      }

//      Serial.print(c);
//      Serial.println(c,  DEC);
      lastRead = millis();
    }
  }
  www.close();
  Serial.println(F("Connection closed."));
  body.toCharArray(pixelPic, 65);
}

void loop()
{
  char pixelPic[65];
  findNextPicture(pixelPic);
  Serial.print("Free RAM: "); Serial.println(getFreeRam(), DEC);

  matrix.clear(); 
  
  int row = 0;
  int col = 0;

//  char smile[] =   "00gggg000g0000g0g0g00g0gg000000gg0g00g0gg00gg00g0g0000g000gggg00";
//  char neutral[] = "00yyyy000y0000y0y0y00y0yy000000yy0yyyy0yy000000y0y0000y000yyyy00";
//  char frown[] =   "00rrrr000r0000r0r0r00r0rr000000rr00rr00rr0r00r0r0r0000r000rrrr00";
//  strcpy(pixelPic, smile);

  Serial.print("Displaying "); Serial.println(pixelPic);

  for (int i = 0; i < 64; i++) {
     if (pixelPic[i] == 'r') {
       matrix.drawPixel(col, row, LED_RED);
     }
     if (pixelPic[i] == 'g') {
       matrix.drawPixel(col, row, LED_GREEN);
     }
     if (pixelPic[i] == 'y') {
       matrix.drawPixel(col, row, LED_YELLOW);
     }
     
