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 0:c579010e68af, committed 2018-09-25
- Comitter:
- jiao120
- Date:
- Tue Sep 25 11:28:59 2018 +0000
- Commit message:
- test printf
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
| mbed-os.lib | Show annotated file Show diff for this revision Revisions of this file | 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Sep 25 11:28:59 2018 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+
+Serial pc(USBTX, USBRX); // tx, rx
+
+int main(){
+        while(1){
+             pc.printf("Hello World!\n");
+            wait(1);
+            }
+    
+    }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Tue Sep 25 11:28:59 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/elessair/code/mbed-os/#f269e3021894