![](/media/cache/group/mbed-logo-square-512_3.png.50x50_q85.png)
RawSerial Example
Diff: main.cpp
- Revision:
- 0:c68431f372b4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Oct 09 20:03:26 2017 +0000 @@ -0,0 +1,8 @@ +#include "mbed.h" + +RawSerial device(USBTX, USBRX); // tx, rx + +int main() { + device.baud(19200); + device.printf("Hello World\n"); +} \ No newline at end of file