Loren Geilen
/
sx126x_simple_TX_shield_2020a
First Test Commit
Diff: main.cpp
- Revision:
- 2:7232213724ad
- Parent:
- 1:28d4b59feaf3
- Child:
- 3:e28fe0f0c51e
--- a/main.cpp Tue May 22 14:38:05 2018 -0700 +++ b/main.cpp Thu May 14 06:13:31 2020 +0000 @@ -27,13 +27,13 @@ radio.setStandby(STBY_XOSC); radio.setPacketType(PACKET_TYPE_LORA); - radio.setMHz(915.0); + radio.setMHz(915.5); { ModulationParams_t mp; - mp.lora.spreadingFactor = 7; - mp.lora.bandwidth = LORA_BW_125; + mp.lora.spreadingFactor = 5; + mp.lora.bandwidth = LORA_BW_500; mp.lora.codingRate = LORA_CR_4_5; mp.lora.LowDatarateOptimize = 0; @@ -41,7 +41,7 @@ } if (chipType == CHIP_TYPE_SX1262) - radio.set_tx_dbm(true, 20); + radio.set_tx_dbm(true, 0); else radio.set_tx_dbm(false, 14);