Skip to content

Commit a182a1c

Browse files
committed
Removed call to gw.setPALevel(RF24_PA_LOW) because the gateway PA Level is set by RF24_PA_LEVEL_GW in Config.h that is used by the gw.begin() method to set the PA_Level for the gateway. Users should change the PA_Level for the gateway using RF24_PA_LEVEL_GW in Config.h
1 parent c270a9e commit a182a1c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

SerialGateway/SerialGateway.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ boolean commandComplete = false; // whether the string is complete
4848
void setup()
4949
{
5050
gw.begin();
51-
gw.setPALevel(RF24_PA_LOW); //Adjust PA-level: MIN, LOW, HIGH, MAX (MAX can sometimes cause problems when using amplified NRF24L01)
5251

5352
// C++ classes and interrupts really sucks. Need to attach interrupt
5453
// outside thw Gateway class due to language shortcomings! Gah!

0 commit comments

Comments
 (0)