pengfei wu
/
ESP8266Program
For test
Diff: ESP8266.cpp
- Revision:
- 12:4e4e72f18047
- Parent:
- 11:7bd1b2a67b1a
- Child:
- 14:40b1decf03f3
diff -r 7bd1b2a67b1a -r 4e4e72f18047 ESP8266.cpp --- a/ESP8266.cpp Tue Feb 03 07:31:13 2015 +0000 +++ b/ESP8266.cpp Tue Feb 03 07:54:14 2015 +0000 @@ -26,10 +26,8 @@ esp_uart.setTimeout(5000); esp_uart.println("AT+RST"); DBG("AT+RST\r\n"); - printf("0.0\r\n"); result = esp_uart.find("eady"); - printf("2.0\r\n"); - + if(result) DBG("Module is ready\r\n"); else