Driver for the ESP8266 WiFi module using ATParser library. Espressif Firmware.
Dependencies: ATParser
Fork of ESP8266 by
Note
This library assumes your ESP8266 is running the Espressif Firmware. For instructions on how to update your ESP8266 to use the correct firmware see the Firmware Update Wiki Page.
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)