RawSerial Helloworld example

Fork of RawSerial_ex_1 by mbed_example

main.cpp

Committer:
kgilbert
Date:
2017-10-09
Revision:
0:c68431f372b4
Child:
1:f21d95cb733d

File content as of revision 0:c68431f372b4:

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