fix : sx1280 Output Power Notes

This commit is contained in:
Pedestrian 2023-02-27 15:19:56 +08:00
commit 8d7c51b0c5
6 changed files with 6 additions and 6 deletions

View file

@ -15,7 +15,7 @@ const uint8_t SpreadingFactor = LORA_SF8; //LoRa spreading factor
const uint8_t CodeRate = LORA_CR_4_5; //LoRa coding rate
const uint16_t Calibration = 11350; //Manual Ranging calibrarion value
const int8_t RangingTXPower = 5; //Transmit power used !!Cannot be greater than 5dbm!!
const int8_t RangingTXPower = 3; //Transmit power used !!Cannot be greater than 3dbm!!
const uint32_t RangingAddress = 16; //must match address in recever
const uint16_t waittimemS = 10000; //wait this long in mS for packet before assuming timeout

View file

@ -13,7 +13,7 @@ const uint8_t SpreadingFactor = LORA_SF8; //LoRa spreading factor
const uint8_t CodeRate = LORA_CR_4_5; //LoRa coding rate
const uint16_t Calibration = 11350; //Manual Ranging calibration value
const int8_t TXpower = 5; //Transmit power used !!Cannot be greater than 5dbm!!
const int8_t TXpower = 3; //Transmit power used !!Cannot be greater than 3dbm!!
const uint32_t RangingAddress = 16; //must match address in master
const uint16_t rangingRXTimeoutmS = 0xFFFF; //ranging RX timeout in mS

View file

@ -75,7 +75,7 @@ void setup()
while (true);
}
// set output power to 5 dBm !!Cannot be greater than 5dbm!!
// set output power to 3 dBm !!Cannot be greater than 3dbm!!
if (radio.setOutputPower(3) == RADIOLIB_ERR_INVALID_OUTPUT_POWER) {
Serial.println(F("Selected output power is invalid for this module!"));
while (true);

View file

@ -75,7 +75,7 @@ void setup()
while (true);
}
// set output power to 3 dBm !!Cannot be greater than 5dbm!!
// set output power to 3 dBm !!Cannot be greater than 3dbm!!
if (radio.setOutputPower(3) == RADIOLIB_ERR_INVALID_OUTPUT_POWER) {
Serial.println(F("Selected output power is invalid for this module!"));
while (true);