HelloWorld

Fork of Serial_HelloWorld by mbed_example

main.cpp

Committer:
Tanakacool
Date:
2017-10-03
Revision:
5:fc92db3d54c6
Parent:
2:033eefd2904e

File content as of revision 5:fc92db3d54c6:

#include "mbed.h"

Serial device(D1,D0);  // tx, rx

int main() {
    device.baud(19200);
    device.printf("Hello World\n");
}