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 Minor_test_serial by
Revision 1:c5430855e0d5, committed 2016-09-12
- Comitter:
- laurette
- Date:
- Mon Sep 12 09:59:15 2016 +0000
- Parent:
- 0:c8f15874531b
- Commit message:
- version 1
Changed in this revision
diff -r c8f15874531b -r c5430855e0d5 MODSERIAL.lib --- a/MODSERIAL.lib Wed Sep 02 14:50:46 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/Sissors/code/MODSERIAL/#8ef4f91813fd
diff -r c8f15874531b -r c5430855e0d5 main.cpp --- a/main.cpp Wed Sep 02 14:50:46 2015 +0000 +++ b/main.cpp Mon Sep 12 09:59:15 2016 +0000 @@ -1,14 +1,13 @@ #include "mbed.h" -#include "MODSERIAL.h" DigitalOut myled(LED_GREEN); -MODSERIAL pc(USBTX, USBRX); +SERIAL pc(USBTX, USBRX); int main() { int i = 0; pc.baud(115200); - pc.printf("Hello World!\n"); + pc.printf("Hello World!\n\r"); while (true) { wait(0.5f); // wait a small period of time
diff -r c8f15874531b -r c5430855e0d5 mbed.bld --- a/mbed.bld Wed Sep 02 14:50:46 2015 +0000 +++ b/mbed.bld Mon Sep 12 09:59:15 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/8ed44a420e5c \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/2e9cc70d1897 \ No newline at end of file