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:
2:61d5dde0c4b4
Parent:
1:ced62d2a69f9
Child:
4:c45472e3e931
--- a/main.cpp	Fri Apr 11 15:21:58 2014 +0000
+++ b/main.cpp	Mon May 12 08:31:11 2014 +0000
@@ -1,7 +1,10 @@
 #include "mbed.h"
 #include "WiflyInterface.h"
 
-Serial pc(USBTX, USBRX);
+/** 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.
+ */
+//Serial pc(USBTX, USBRX);
 
 /**
  * D1 - TX pin (RX on the WiFi side)