chuankou

Dependencies:   mbed

Revision:
0:d57c597c04c6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/2.cpp	Sun Sep 16 10:08:38 2018 +0000
@@ -0,0 +1,14 @@
+// Print "Hello World" to the PC
+
+#include "mbed.h"
+
+
+Serial pc(PA_9, PA_10,9600);
+
+int main() {
+    while(1)
+    {
+        pc.printf("Hello World\n");
+        wait(1);
+    }
+}