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: mbed
Revision 1:906bda113ceb, committed 2015-11-13
- Comitter:
- sweilz
- Date:
- Fri Nov 13 08:12:39 2015 +0000
- Parent:
- 0:624614538ca8
- Commit message:
- String in Mbed
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Nov 13 08:02:37 2015 +0000
+++ b/main.cpp Fri Nov 13 08:12:39 2015 +0000
@@ -1,17 +1,11 @@
#include "mbed.h"
#include <string>
-//------------------------------------
-// Hyperterminal configuration
-// 9600 bauds, 8-bit data, no parity
-//------------------------------------
Serial pc(SERIAL_TX, SERIAL_RX);
-
int main()
{
- //char* txt[]={"Hello\n","World","My Name is Liews"};
-
+
string txt("Hello World My Name is Liews");
string str;