Create a UART to USB Serial bridge with the DipCortex

Dependencies:   USBDevice mbed

Fork of DipCortex-USB-CDC by Carl - SolderSplash Labs

Files at this revision

API Documentation at this revision

Comitter:
SolderSplashLabs
Date:
Fri Nov 01 08:27:31 2013 +0000
Parent:
0:8c4eea221dcf
Child:
2:ec470dd97c6e
Commit message:
Example code show you how to create a USB CDC Device with the DipCortex

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
--- a/USBDevice.lib	Wed Oct 30 02:01:50 2013 +0000
+++ b/USBDevice.lib	Fri Nov 01 08:27:31 2013 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/yihui/code/USBDevice/#01040319e35c
+http://mbed.org/users/SolderSplashLabs/code/USBDevice/#01e56c952fe0
--- a/main.cpp	Wed Oct 30 02:01:50 2013 +0000
+++ b/main.cpp	Fri Nov 01 08:27:31 2013 +0000
@@ -5,7 +5,8 @@
 #include "mbed.h"
 #include "USBSerial.h"
 
-Serial uart(USBTX, USBRX);
+//Serial uart(USBTX, USBRX);
+Serial uart(p19, p20);
 USBSerial pc;
 
 // Called by ISR