You've already forked arduino-LoRa
mirror of
https://github.com/sandeepmistry/arduino-LoRa.git
synced 2025-09-04 14:42:10 +03:00
Add option to specify PA output pin in Lora.setTxPower(...) (#2)
This commit is contained in:
7
API.md
7
API.md
@@ -216,10 +216,15 @@ Change the TX power of the radio.
|
||||
|
||||
```arduino
|
||||
LoRa.setTxPower(txPower);
|
||||
|
||||
LoRa.setTxPower(txPower, outputPin);
|
||||
```
|
||||
* `txPower` - TX power in dB, defaults to `17`
|
||||
* `outputPin` - (optional) PA output pin, supported values are `PA_OUTPUT_RFO_PIN` and `PA_OUTPUT_PA_BOOST_PIN`, defaults to `PA_OUTPUT_PA_BOOST_PIN`.
|
||||
|
||||
Supported values are between `2` and `17`.
|
||||
Supported values are between `2` and `17` for `PA_OUTPUT_PA_BOOST_PIN`, `0` and `14` for `PA_OUTPUT_RFO_PIN`.
|
||||
|
||||
Most modules have the PA output pin connected to PA BOOST,
|
||||
|
||||
### Frequency
|
||||
|
||||
|
Reference in New Issue
Block a user