RawSerial Example

main.cpp

Committer:
kgilbert
Date:
2017-10-09
Revision:
0:c68431f372b4

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");
}