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.
Diff: main.cpp
- Revision:
- 2:a361a088704a
- Parent:
- 1:e9d1c42a73ae
diff -r e9d1c42a73ae -r a361a088704a main.cpp
--- a/main.cpp Fri Feb 28 06:52:34 2014 +0000
+++ b/main.cpp Sun Nov 16 06:46:27 2014 +0000
@@ -11,10 +11,10 @@
int main() {
int i = 1;
- pc.printf("Hello World !\n");
+ pc.printf("Hello World !\r\n");
while(1) {
wait(1);
- pc.printf("This program runs since %d seconds.\n", i++);
+ pc.printf("This has been running for %d seconds.\r\n", i++);
myled = !myled;
}
}