Mayke Doorn
/
Minor_test_serial
Published
Fork of Minor_test_serial by
Revision 1:2f2fe8799183, committed 2016-09-12
- Comitter:
- Mayke
- Date:
- Mon Sep 12 09:58:54 2016 +0000
- Parent:
- 0:c8f15874531b
- Commit message:
- Committed version
Changed in this revision
MODSERIAL.lib | Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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
--- a/main.cpp Wed Sep 02 14:50:46 2015 +0000 +++ b/main.cpp Mon Sep 12 09:58:54 2016 +0000 @@ -1,13 +1,12 @@ #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.baud(115200); //rate of sending data pc.printf("Hello World!\n"); while (true) {