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:
- 13:5a32a1922fbc
- Parent:
- 11:d3a591c20cd7
- Child:
- 16:675f4d0ee9e9
diff -r aa287e51c09e -r 5a32a1922fbc SX1276GenericPingPong/GenericPingPong.cpp --- a/SX1276GenericPingPong/GenericPingPong.cpp Tue Jul 11 11:37:03 2017 +0000 +++ b/SX1276GenericPingPong/GenericPingPong.cpp Tue Aug 08 08:49:06 2017 +0000 @@ -101,7 +101,7 @@ { #if( defined ( TARGET_KL25Z ) || defined ( TARGET_LPC11U6X ) ) DigitalOut *led = new DigitalOut(LED2); -#elif defined(TARGET_NUCLEO_L073RZ) +#elif defined(TARGET_NUCLEO_L073RZ) || defined(TARGET_DISCO_L072CZ_LRWAN1) DigitalOut *led = new DigitalOut(LED4); // RX red led3 = new DigitalOut(LED3); // TX blue #else