USBSerial echo example

Dependencies:   mbed USBDevice

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Thu Dec 20 17:06:44 2012 +0000
Parent:
6:58aedc90c7e9
Child:
8:1a85e7191caa
Commit message:
use latest version of USBDevice

Changed in this revision

USBDevice.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
--- a/USBDevice.lib	Wed Nov 30 11:19:18 2011 +0000
+++ b/USBDevice.lib	Thu Dec 20 17:06:44 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/samux/code/USBDevice/#65a34d6b5e22
+http://mbed.org/users/mbed_official/code/USBDevice/#d0945750af57
--- a/main.cpp	Wed Nov 30 11:19:18 2011 +0000
+++ b/main.cpp	Thu Dec 20 17:06:44 2012 +0000
@@ -1,10 +1,10 @@
 #include "mbed.h"
 #include "USBSerial.h"
-
+ 
 //Virtual serial port over USB
 USBSerial serial;
 Serial pc(USBTX, USBRX);
-
+ 
 int main(void) {
     uint8_t buf[128];
     while(1)
@@ -13,4 +13,4 @@
         serial.printf("recv: %s\r\n", buf);
         pc.printf("recv: %s\r\n", buf);
     }
-}
+}
\ No newline at end of file
--- a/mbed.bld	Wed Nov 30 11:19:18 2011 +0000
+++ b/mbed.bld	Thu Dec 20 17:06:44 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/7110ebee3484
+http://mbed.org/users/mbed_official/code/mbed/builds/cd19af002ccc
\ No newline at end of file