Slightly different message and adds \r to the printf for terminal programs like screen /dev/ttyACM0 which don't add <CR> automatically.
Revision 1:e9d1c42a73ae, committed 2014-02-28
- Comitter:
- bcostm
- Date:
- Fri Feb 28 06:52:34 2014 +0000
- Parent:
- 0:028fac66239d
- Child:
- 2:a361a088704a
- Commit message:
- Add note for hyperterminal configuration.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Feb 21 10:34:55 2014 +0000 +++ b/main.cpp Fri Feb 28 06:52:34 2014 +0000 @@ -1,5 +1,10 @@ #include "mbed.h" - + +//------------------------------------ +// Hyperterminal configuration +// 9600 bauds, 8-bit data, no parity +//------------------------------------ + Serial pc(SERIAL_TX, SERIAL_RX); DigitalOut myled(LED1);