The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: platform/ATCmdParser.h
- Revision:
- 148:fd96258d940d
- Parent:
- 146:22da6e220af6
- Child:
- 154:fb8e0ae1cceb
--- a/platform/ATCmdParser.h Wed Jul 19 16:46:19 2017 +0100 +++ b/platform/ATCmdParser.h Thu Aug 03 13:37:00 2017 +0100 @@ -29,7 +29,8 @@ * * Here are some examples: * @code - * ATCmdParser at = ATCmdParser(serial, "\r\n"); + * UARTSerial serial = UARTSerial(D1, D0); + * ATCmdParser at = ATCmdParser(&serial, "\r\n"); * int value; * char buffer[100]; *