Example program for the SeeedStudio WiFi Shield V2.0, based on UART serial port connectivity (D0/D1 pins). This program connects to WiFi hotspot, obtains an IP using DHCP and downloads http://mbed.org/media/uploads/mbed_official/hello.txt

Dependencies:   WiflyInterface mbed

Revision:
4:c45472e3e931
Parent:
2:61d5dde0c4b4
Child:
6:f80c278ca79c
--- a/main.cpp	Tue Jun 03 18:46:33 2014 +0000
+++ b/main.cpp	Tue Jun 03 19:40:55 2014 +0000
@@ -1,10 +1,10 @@
 #include "mbed.h"
 #include "WiflyInterface.h"
 
-/** On many platforms USBTX/USBRX overlap with serial on D1/D0 pins and enabling the below will interrupt the communication.
- *  You can use an LCD display to print the values or store them on an SD card etc.
+/** On some platforms USBTX/USBRX overlaps with serial on D1/D0 pins and this may interrupt the communication.
+ *  You can comment it and use an LCD display to print the values or store them on an SD card etc.
  */
-//Serial pc(USBTX, USBRX);
+Serial pc(USBTX, USBRX);
 
 /**
  * D1 - TX pin (RX on the WiFi side)