Shumelev dima / Mbed 2 deprecated FRDM_serial_echo_demo

Dependencies:   mbed

Fork of FRDM_serial_echo_demo by felipe manrique

Files at this revision

API Documentation at this revision

Comitter:
felipeM
Date:
Sat Oct 05 19:10:27 2013 +0000
Child:
1:675b841fe7dc
Commit message:
Echoes back to the screen anything you type; taken from :; https://mbed.org/handbook/SerialPC

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	Sat Oct 05 19:10:27 2013 +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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Oct 05 19:10:27 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file