test
Fork of ESP8266 by
Diff: ESP8266.cpp
- Revision:
- 14:13cef05d740c
- Parent:
- 13:4c014a7f0c63
- Child:
- 15:640a262a93e1
--- a/ESP8266.cpp Wed Aug 05 21:57:41 2015 +0000 +++ b/ESP8266.cpp Mon Dec 28 05:38:00 2015 +0000 @@ -16,9 +16,10 @@ #include "ESP8266.h" -ESP8266::ESP8266(PinName tx, PinName rx) : serial(tx, rx), atParser(serial) +ESP8266::ESP8266(PinName tx, PinName rx, uint8_t debug) : serial(tx, rx), atParser(serial) { serial.baud(115200); + atParser.debugOn(debug); } bool ESP8266::startup(void)