[Nucleo F103RB] UART0 Transmit Example.

Dependencies:   mbed

main.cpp

Committer:
hoangnguyen578
Date:
2014-02-12
Revision:
0:9e15cfed60ea

File content as of revision 0:9e15cfed60ea:

#include "mbed.h"
 
Serial device(PA_9, PA_10);  // tx, rx
 
int main() {
    device.baud(19200);
    device.printf("Hello World\n");
}