Slightly different message and adds \r to the printf for terminal programs like screen /dev/ttyACM0 which don't add <CR> automatically.
Diff: main.cpp
- Revision:
- 1:e9d1c42a73ae
- Parent:
- 0:028fac66239d
- Child:
- 2:a361a088704a
--- 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);