hue

Dependencies:   mbed

Revision:
0:d4386e9356d5
diff -r 000000000000 -r d4386e9356d5 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed May 04 23:31:34 2016 +0000
@@ -0,0 +1,20 @@
+
+#include "mbed.h"
+ 
+Serial pc(p9, p10); // Use UART3 on LPC4088 Quickstart board
+Serial pc2(USBTX, USBRX);
+ 
+int count = 0;
+
+int main() {
+    pc.baud(19200);
+    pc2.baud(19200);
+    
+    pc2.printf("Testing UART Communication\n\r");
+    while(1) {
+        pc.putc(count);
+        pc2.printf("Sending: %i\n\r", count);
+        wait(1);
+        count = count + 1;
+    }
+}