Skip to content

Commit 77dc4c8

Browse files
committed
Docs: testRPD
- Update the example code and return info for testRPD() #946
1 parent 881473a commit 77dc4c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RF24.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,11 +1277,11 @@ class RF24
12771277
* @code
12781278
* bool goodSignal = radio.testRPD();
12791279
* if(radio.available()){
1280-
* Serial.println(goodSignal ? "Strong signal > 64dBm" : "Weak signal < 64dBm" );
1280+
* Serial.println(goodSignal ? "Strong signal > -64dBm" : "Weak or no signal < -64dBm" );
12811281
* radio.read(0,0);
12821282
* }
12831283
* @endcode
1284-
* @return true if a signal less than or equal to -64dBm was detected,
1284+
* @return true if a signal greater than or equal to -64dBm was detected,
12851285
* false if not.
12861286
*/
12871287
bool testRPD(void);

0 commit comments

Comments
 (0)