Set transmit power of RF95 module
This commit is contained in:
@@ -59,7 +59,7 @@ void setup()
|
|||||||
// The default transmitter power is 13dBm, using PA_BOOST.
|
// The default transmitter power is 13dBm, using PA_BOOST.
|
||||||
// If you are using RFM95/96/97/98 modules which uses the PA_BOOST transmitter pin, then
|
// If you are using RFM95/96/97/98 modules which uses the PA_BOOST transmitter pin, then
|
||||||
// you can set transmitter powers from 5 to 23 dBm:
|
// you can set transmitter powers from 5 to 23 dBm:
|
||||||
//rf95.setTxPower(23, false);
|
rf95.setTxPower(23, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop()
|
void loop()
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ void setup()
|
|||||||
// The default transmitter power is 13dBm, using PA_BOOST.
|
// The default transmitter power is 13dBm, using PA_BOOST.
|
||||||
// If you are using RFM95/96/97/98 modules which uses the PA_BOOST transmitter pin, then
|
// If you are using RFM95/96/97/98 modules which uses the PA_BOOST transmitter pin, then
|
||||||
// you can set transmitter powers from 5 to 23 dBm:
|
// you can set transmitter powers from 5 to 23 dBm:
|
||||||
//rf95.setTxPower(23, false);
|
rf95.setTxPower(23, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t packetnum = 0; // packet counter, we increment per xmission
|
int16_t packetnum = 0; // packet counter, we increment per xmission
|
||||||
|
|||||||
Reference in New Issue
Block a user