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.
Fork of mbed by
Diff: RawSerial.h
- Revision:
- 75:dc225afb6914
- Parent:
- 68:f37f3b9c9f0b
--- a/RawSerial.h Fri Dec 13 14:18:40 2013 +0200
+++ b/RawSerial.h Thu Dec 19 15:51:14 2013 +0200
@@ -71,6 +71,16 @@
* @returns The char read from the serial port
*/
int getc();
+
+ /** Write a string to the serial port
+ *
+ * @param str The string to write
+ *
+ * @returns 0 if the write succeeds, EOF for error
+ */
+ int puts(const char *str);
+
+ int printf(const char *format, ...);
};
} // namespace mbed
