Additional Serial Example

main.cpp

Committer:
mab5449
Date:
2017-01-19
Revision:
0:7376f17bb36e

File content as of revision 0:7376f17bb36e:

#include "mbed.h"

Serial device(USBTX, USBRX);  // tx, rx

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