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 UART-USB by
Revision 1:49d43299320b, committed 2013-03-25
- Comitter:
- stevep
- Date:
- Mon Mar 25 23:13:05 2013 +0000
- Parent:
- 0:a1601df537a8
- Commit message:
- Replace MODSERIAL with mbed SDK Serial.
Changed in this revision
--- a/MODSERIAL.lib Fri Apr 15 08:00:21 2011 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/AjK/code/MODSERIAL/#6c9b57c14868
--- a/main.cpp Fri Apr 15 08:00:21 2011 +0000 +++ b/main.cpp Mon Mar 25 23:13:05 2013 +0000 @@ -1,18 +1,17 @@ #include "mbed.h" #define BAUD 115200 -#define TX_PIN p9 -#define RX_PIN p10 +#define TX_PIN PTD2 +#define RX_PIN PTD3 - #include "MODSERIAL.h" DigitalOut led1(LED1); DigitalOut led2(LED2); DigitalOut led3(LED3); DigitalOut led4(LED4); - MODSERIAL pc(USBTX, USBRX); + Serial pc(USBTX, USBRX); - MODSERIAL uart(TX_PIN, RX_PIN); + Serial uart(TX_PIN, RX_PIN); int main()
--- a/mbed.bld Fri Apr 15 08:00:21 2011 +0000 +++ b/mbed.bld Mon Mar 25 23:13:05 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912 +http://mbed.org/users/mbed_official/code/mbed/builds/5e5da4a5990b \ No newline at end of file