![](/media/cache/group/mbed-logo-square-512_3.png.50x50_q85.png)
RawSerial Helloworld example
Fork of RawSerial_ex_1 by
Diff: main.cpp
- Revision:
- 0:c68431f372b4
- Child:
- 1:f21d95cb733d
diff -r 000000000000 -r c68431f372b4 main.cpp --- /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