repeater

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
ShaolinPoutine
Date:
Wed Jan 11 22:55:21 2017 +0000
Commit message:
fdsa

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
diff -r 000000000000 -r 75d478e440e7 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Jan 11 22:55:21 2017 +0000
@@ -0,0 +1,10 @@
+#include "mbed.h"              
+ 
+Serial pc(USBTX, USBRX);
+ 
+int main() {
+    pc.printf("Echoes back to the screen anything you type\n");
+    while(1) {
+        pc.putc(pc.getc());
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r 75d478e440e7 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Jan 11 22:55:21 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/99b5ccf27215
\ No newline at end of file