mbed_example
/
RawSerial_ex_1
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