Test Seriale MDOT
Dependencies: libmDot mbed-rtos mbed
Fork of mDot_LoRa_Connect_Example by
main.cpp
- Committer:
- fdalforno
- Date:
- 2016-12-02
- Revision:
- 7:0b0835299ee8
- Parent:
- 6:f0b6fea36e28
File content as of revision 7:0b0835299ee8:
#include "mbed.h" #include "mDot.h" #include "MTSLog.h" #include <string> #include <vector> #include <algorithm> Serial pc(USBTX, USBRX); Serial uart(PA_2, PA_3); int main() { while(1) { if(pc.readable()) { uart.putc(pc.getc()); } if(uart.readable()) { pc.putc(uart.getc()); } } }