Added monitoring feature of ESP8266's UART

Dependents:   ESP8266_W7500_Example DualNetworkInterface-Basic

Fork of ESP8266Interface by ESP8266

Revision:
34:7ccda5d68a00
Parent:
32:cf071dc33972
Child:
38:86e75901efc1
Child:
44:3a7b6083210b
--- a/ESP8266/ESP8266.cpp	Thu Apr 30 21:09:14 2015 +0000
+++ b/ESP8266/ESP8266.cpp	Fri May 01 15:39:50 2015 +0000
@@ -170,7 +170,7 @@
 
     sendCommand("AT+CIPMODE=1", "OK", NULL, 1000);// go into transparent mode
     sendCommand("AT+CIPSEND", ">", NULL, 1000);// go into transparent mode
-    pc.printf("Data Mode\r\n");
+    DBG("Data Mode\r\n");
     state.cmdMode = false;
 
     return true;