got this sample program for 2+ sx1276 modules to communicate in a ping pong fashion. This program has been tested and verified to run with 915MHz Hope RFM95 modules running with MAX32620FTHR and MAX32630FTHR micro controllers.
Dependencies: BMI160 BufferedSerial SX1276GenericLib USBDeviceHT max32630fthr
Fork of STM32L0_LoRa by
Diff: main.h
- Revision:
- 19:9f035b9e65ec
- Parent:
- 17:98f2528e8399
--- a/main.h Mon Mar 12 15:00:02 2018 +0000 +++ b/main.h Fri Jun 01 22:07:08 2018 +0000 @@ -4,6 +4,7 @@ * Licensed under the Apache License, Version 2.0); */ + #include "mbed.h" #include "PinMap.h" #include "BufferedSerial.h" @@ -12,6 +13,10 @@ #endif #include "GenericPingPong.h" + +#define FEATURE_LORA + + extern BufferedSerial *ser; #ifdef FEATURE_USBSERIAL