Anuprit Singh Dangi
/
Nucleo_printf
Display a message on PC using UART.
Diff: main.cpp
- Revision:
- 1:e9d1c42a73ae
- Parent:
- 0:028fac66239d
- Child:
- 2:c9378e6122a7
diff -r 028fac66239d -r e9d1c42a73ae main.cpp --- 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);