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.
Revision 2:86367fbfd9d1, committed 2014-09-08
- Comitter:
- tstan
- Date:
- Mon Sep 08 09:34:57 2014 +0000
- Parent:
- 1:e9d1c42a73ae
- Commit message:
- TS TAN Nucleo UART OK
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Feb 28 06:52:34 2014 +0000
+++ b/main.cpp Mon Sep 08 09:34:57 2014 +0000
@@ -13,8 +13,9 @@
int i = 1;
pc.printf("Hello World !\n");
while(1) {
- wait(1);
- pc.printf("This program runs since %d seconds.\n", i++);
+ wait_ms(1000);
+
+ pc.printf("This program runs since %d seconds.\n", i++);
myled = !myled;
}
}