RawSerial Example

Committer:
kgilbert
Date:
Mon Oct 09 14:55:48 2017 -0500
Revision:
1:6a0d9cb21969
Parent:
0:c68431f372b4
Remove .gitignore

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kgilbert 0:c68431f372b4 1 #include "mbed.h"
kgilbert 0:c68431f372b4 2
kgilbert 0:c68431f372b4 3 RawSerial device(USBTX, USBRX); // tx, rx
kgilbert 0:c68431f372b4 4
kgilbert 0:c68431f372b4 5 int main() {
kgilbert 0:c68431f372b4 6 device.baud(19200);
kgilbert 0:c68431f372b4 7 device.printf("Hello World\n");
kgilbert 0:c68431f372b4 8 }