  
  created 13 July 2010
  by dlf (Metodo2 srl)
- modified 12 Mar 2012
+ modified 2 April 2012
  by Tom Igoe
  */
 

#include <WiFi.h>

void setup() {
  // initialize serial:
  Serial.begin(9600);

  // attempt to connect using WEP encryption:
  Serial.println("Initializing Wifi...");

  // print the list of networks seen:
  Serial.print("number of available networks:");
  Serial.println(numSsid);

  // print the network number and name for each network found:
  for (int thisNet = 0; thisNet<numSsid; thisNet++) {
    Serial.print(thisNet);
