mbed_example
/
RawSerial_HelloWorld
RawSerial Helloworld example
Fork of RawSerial_ex_1 by
Diff: main.cpp
- Revision:
- 0:c68431f372b4
- Child:
- 1:f21d95cb733d
--- /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