Create a UART to USB Serial bridge with the DipCortex
Fork of DipCortex-USB-CDC by
Diff: main.cpp
- Revision:
- 2:ec470dd97c6e
- Parent:
- 1:b9eededaba19
- Child:
- 3:5fffa4cb4ca1
diff -r b9eededaba19 -r ec470dd97c6e main.cpp --- a/main.cpp Fri Nov 01 08:27:31 2013 +0000 +++ b/main.cpp Thu Jan 30 21:33:45 2014 +0000 @@ -5,8 +5,9 @@ #include "mbed.h" #include "USBSerial.h" -//Serial uart(USBTX, USBRX); -Serial uart(p19, p20); +// Serial TX Pin19, Serial RX Pin20 +// Using port and pin names as the mbed definitions pin defs for the M0 are incorrect +Serial uart(P1_13, P1_14); USBSerial pc; // Called by ISR