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: SX1276GenericPingPong/GenericPingPong.cpp
- Revision:
- 1:65d602e2d746
- Parent:
- 0:c43b6919ae15
- Child:
- 3:dc560d3e9070
diff -r c43b6919ae15 -r 65d602e2d746 SX1276GenericPingPong/GenericPingPong.cpp --- a/SX1276GenericPingPong/GenericPingPong.cpp Wed May 10 08:48:46 2017 +0000 +++ b/SX1276GenericPingPong/GenericPingPong.cpp Wed May 10 12:37:06 2017 +0000 @@ -365,6 +365,7 @@ State = LOWPOWER; break; case LOWPOWER: + sleep(); break; default: State = LOWPOWER;