Basic RX/TX example, this is the firmware that LoDev S76S comes with initially.
Dependencies: mbed SX1276RonothLib
LoDev RX/TX Example
Transmit
By default LoDev comes on in receive mode. To switch to transmit mode, connect PC2 to 3.3v and press the reset switch. In TX mode the blue LED is normally off and blinks on briefly when transmitting.
Receive
When in RX mode the LED is normally on and turns off briefly when receiving a packet. This is the default mode.
Diff: config.h
- Revision:
- 2:a93ffb29a2d2
- Parent:
- 0:5acc19265529
--- a/config.h Tue Jul 09 01:53:14 2019 +0000 +++ b/config.h Mon Jul 15 22:05:34 2019 +0000 @@ -1,6 +1,6 @@ // LoRa configuration settings -#define RF_FREQUENCY 915010000 // Hz +#define RF_FREQUENCY 868000000 // Hz #define TX_OUTPUT_POWER 14 // 14 dBm #define LORA_BANDWIDTH 125000 // LoRa default, details in SX1276::BandwidthMap #define LORA_SPREADING_FACTOR LORA_SF7