Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of FRDM_serial_echo_demo by
Revision 0:806d4eb73e1e, committed 2013-10-05
- 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
