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

This commit is contained in:
Bruce Lacey
2014-03-12 22:53:41 -07:00
parent c270a9ec2c
commit a182a1c05e
-1
View File
@@ -48,7 +48,6 @@ boolean commandComplete = false; // whether the string is complete
void setup()
{
gw.begin();
gw.setPALevel(RF24_PA_LOW); //Adjust PA-level: MIN, LOW, HIGH, MAX (MAX can sometimes cause problems when using amplified NRF24L01)
// C++ classes and interrupts really sucks. Need to attach interrupt
// outside thw Gateway class due to language shortcomings! Gah!