Sample code for testing mbed LPC1114FN28 UART

Dependencies:   mbed

Revision:
0:f5fca6956958
diff -r 000000000000 -r f5fca6956958 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Apr 27 07:56:25 2014 +0000
@@ -0,0 +1,10 @@
+#include "mbed.h"
+ 
+Serial pc(dp16, dp15); // tx, rx
+ 
+int main() {
+    while(1){
+        pc.printf("Hello World!\r\n");
+        wait(1);
+    }
+}