mit

Dependencies:   mbed-src

Files at this revision

API Documentation at this revision

Comitter:
coldplay
Date:
Mon Dec 24 03:48:41 2018 +0000
Commit message:
mit

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-src.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	Mon Dec 24 03:48:41 2018 +0000
@@ -0,0 +1,9 @@
+#include "mbed.h"
+Serial pc(USBTX, USBRX); // tx, rx 發射, 接收
+ 
+int main() 
+{
+    while(1){
+    pc.printf("Hello World!\n\r");
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-src.lib	Mon Dec 24 03:48:41 2018 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed-src/#a11c0372f0ba