Rafael Mena
/
ComunicacionDosNucleo
Tareita
Fork of UART0 by
Diff: main.cpp
- Revision:
- 0:9e15cfed60ea
- Child:
- 1:9f10be874ce0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Feb 12 18:44:29 2014 +0000 @@ -0,0 +1,8 @@ +#include "mbed.h" + +Serial device(PA_9, PA_10); // tx, rx + +int main() { + device.baud(19200); + device.printf("Hello World\n"); +} \ No newline at end of file