serial test code for custom boards

Dependencies:   MODSERIAL mbed

Files at this revision

API Documentation at this revision

Comitter:
seiya1225
Date:
Fri Aug 10 17:01:54 2018 +0000
Commit message:
Publish Serial Test Code

Changed in this revision

MODSERIAL.lib Show annotated file Show diff for this revision Revisions of this file
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 070feac238b3 MODSERIAL.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MODSERIAL.lib	Fri Aug 10 17:01:54 2018 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/Sissors/code/MODSERIAL/#da0788f0bd77
diff -r 000000000000 -r 070feac238b3 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Aug 10 17:01:54 2018 +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 070feac238b3 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Aug 10 17:01:54 2018 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/a7c7b631e539
\ No newline at end of file