LoRa Server to link to Raspberry - Working ok
Dependencies: BufferedSerial SX1276GenericLib mbed
Fork of DISCO-L072CZ-LRWAN1_LoRa_PingPong by
Diff: main.cpp
- Revision:
- 12:fdf2b9912649
- Parent:
- 10:f84959c2e044
--- a/main.cpp Fri Aug 18 07:45:44 2017 +0000 +++ b/main.cpp Wed Aug 08 22:29:41 2018 +0000 @@ -5,16 +5,20 @@ */ #include "main.h" + DigitalOut myled(LED1); BufferedSerial *ser; int main() { SystemClock_Config(); ser = new BufferedSerial(USBTX, USBRX); - ser->baud(115200*2); + ser->baud(115200); ser->format(8); - ser->printf("Hello World\n\r"); + myled = 1; + /*serRPi = new BufferedSerial(PA_9, PA_10); + serRPi->baud(115200); + serRPi->format(8);*/ SX1276PingPong(); }