안양어벤저스 / Mbed 2 deprecated ex4_mbed_uart

Dependencies:   mbed

Revision:
0:02f8a386a4ae
diff -r 000000000000 -r 02f8a386a4ae main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Oct 16 02:20:05 2017 +0000
@@ -0,0 +1,14 @@
+// Print "Hello World" to the PC
+
+#include "mbed.h"
+
+Serial pc(USBTX, USBRX);
+
+int main() {
+    pc.baud(115200);
+    
+    
+    
+    pc.printf("Hello World\n");
+    
+}