Lora support for the STM B_L072Z_LRWAN1 board out of the box. Also supports HopeRF RFM95, Murata CMWX1ZZABZ and Semtech SX1276MB1MAS/SX1276MB1LAS modules.
Dependencies: BufferedSerial SX1276GenericLib mbed USBDeviceHT
Diff: main.cpp
- Revision:
- 20:a1029437adca
- Parent:
- 19:992eda680d91
diff -r 992eda680d91 -r a1029437adca main.cpp --- a/main.cpp Sun Jun 03 18:33:17 2018 +0000 +++ b/main.cpp Sun Jun 03 19:25:37 2018 +0000 @@ -7,14 +7,7 @@ DigitalOut led(LED); -DigitalOut led2(LED2); -Timeout tim; -void ledBlink(void) -{ - tim.attach(callback(&ledBlink), 0.200); - led2 = !led2; -} int main() { /* @@ -27,7 +20,6 @@ dprintf("Welcome to the SX1276GenericLib"); dprintf("Starting a simple LoRa PingPong"); - ledBlink(); SX1276PingPong(); }