From a182a1c05e1a2bc75fc3ac60c7445467abfd611f Mon Sep 17 00:00:00 2001 From: Bruce Lacey Date: Wed, 12 Mar 2014 22:53:41 -0700 Subject: [PATCH] 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 --- SerialGateway/SerialGateway.ino | 1 - 1 file changed, 1 deletion(-) diff --git a/SerialGateway/SerialGateway.ino b/SerialGateway/SerialGateway.ino index 0f6d303..2d3d5a3 100644 --- a/SerialGateway/SerialGateway.ino +++ b/SerialGateway/SerialGateway.ino @@ -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!