Xuanjiao Zhu / Mbed OS BLE_file_test

Dependencies:   mbed-os

Files at this revision

API Documentation at this revision

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