hue

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
fshade057
Date:
Wed May 04 23:31:34 2016 +0000
Commit message:
Jason pls

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /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;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed May 04 23:31:34 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/082adc85693f
\ No newline at end of file