Simple Serial Echo program for the LandTiger Board, using COM2 port/connector

Dependencies:   mbed

Revision:
0:498d68e9665f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Mar 05 02:08:51 2016 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+
+//Serial echo for the LandTiger board
+Serial pc(P0_10, P0_11); //tx, rx pins for the Landtiger, COM2 UART2 connector 
+
+int main() {
+    pc.printf("hello world\n");
+    while(1) {
+        pc.putc(pc.getc()); //character echo
+    }
+}