This program is guided to help establish a connection between two RFM95 900MHz LoRa radio modules using Maxim Integrated's Feather MCUs (MAX32630FTHR Mbed and the MAX32620FTHR Mbed). Once the radios are configured after powering on and if the radios are wired correctly, the two radios will self identify as either a master or a slave, and will then proceed to PING and PONG back and forth. Information about what is happening between the radios can be seen if the two boards are hooked up to a USB COM port through the included DAPLINK/MAX32625PICO modules.
Dependencies: BufferedSerial SX1276GenericLib USBDeviceHT max32630fthr
Fork of MAX326xxFTHR_LoRa_PingPong by
Diff: PinMap.h
- Revision:
- 18:d5527ce82e6b
- Parent:
- 17:98f2528e8399
- Child:
- 19:9f035b9e65ec
--- a/PinMap.h Fri Feb 23 12:57:25 2018 +0000 +++ b/PinMap.h Mon Mar 12 15:00:02 2018 +0000 @@ -60,6 +60,7 @@ #define USER_BUTTON PH_3 // boot pin #define LED PB_0 // red #define LED2 PB_1 // green +#define LED1 LED #define POWER_VEXT PA_3 #define POWER_VEXT_ON 0 @@ -68,7 +69,7 @@ #define LORA_SPI_MOSI PA_7 #define LORA_SPI_MISO PA_6 -#define LORA_SPI_SCLK PB_5 +#define LORA_SPI_SCLK PA_5 #define LORA_CS PA_4 #define LORA_RESET PA_1 #define LORA_DIO0 PA_0 // DIO0=TxDone/RXDone/CADDone