[Nucleo F103RB] UART0 Transmit Example.

Dependencies:   mbed-src mbed

Fork of UART0 by Huy Hoang Nguyen

main.cpp

Committer:
jianglong19931212
Date:
2014-09-28
Revision:
1:7982ee4f57af
Parent:
0:9e15cfed60ea

File content as of revision 1:7982ee4f57af:

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