Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API nRF51822 mbed-dev-bin
Diff: inc/drivers/MicroBitSerial.h
- Revision:
- 65:f7ebabf23e15
- Parent:
- 59:d73a257e9f89
- Child:
- 66:2fc7d7c2fffc
diff -r 98cb56bf7711 -r f7ebabf23e15 inc/drivers/MicroBitSerial.h
--- a/inc/drivers/MicroBitSerial.h Wed Jul 13 12:18:43 2016 +0100
+++ b/inc/drivers/MicroBitSerial.h Wed Jul 13 12:18:45 2016 +0100
@@ -436,8 +436,6 @@
/**
* Configures an event to be fired after "len" characters.
*
- * Will generate an event with the ID: MICROBIT_ID_SERIAL and the value MICROBIT_SERIAL_EVT_HEAD_MATCH.
- *
* @param len the number of characters to wait before triggering the event.
*
* @param mode the selected mode, one of: ASYNC, SYNC_SPINWAIT, SYNC_SLEEP. Each mode
@@ -457,9 +455,7 @@
/**
* Configures an event to be fired on a match with one of the delimeters.
*
- * Will generate an event with the ID: MICROBIT_ID_SERIAL and the value MICROBIT_SERIAL_EVT_DELIM_MATCH.
- *
- * @param delimeters the characters to match received characters against e.g. ManagedString("\n")
+ * @param delimeters the characters to match received characters against e.g. ManagedString("\r\n")
*
* @param mode the selected mode, one of: ASYNC, SYNC_SPINWAIT, SYNC_SLEEP. Each mode
* gives a different behaviour: