Update ATCmdParser example code.

The previous example code was not very helpful, as it doesn't show the use of UARTSerial.
pull/4726/head
sarahmarshy 2017-07-07 16:45:01 -05:00 committed by GitHub
parent 50fdca88e8
commit d8a7fe1467
1 changed files with 2 additions and 1 deletions

View File

@ -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];
*