new

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
aidanPJG
Date:
Fri Jul 03 13:32:31 2015 +0000
Commit message:
changes;

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	Fri Jul 03 13:32:31 2015 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+ Serial pc(USBTX, USBRX); // tx, rx
+ 
+int main() {
+    while(1) 
+    {
+        if(pc.readable()) {
+            device.putc(pc.getc());
+    
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Jul 03 13:32:31 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7
\ No newline at end of file