Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: testRPD #948

Merged
merged 3 commits into from
Feb 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions RF24.h
Original file line number Diff line number Diff line change
Expand Up @@ -1277,11 +1277,11 @@ class RF24
* @code
* bool goodSignal = radio.testRPD();
* if(radio.available()){
* Serial.println(goodSignal ? "Strong signal > 64dBm" : "Weak signal < 64dBm" );
* Serial.println(goodSignal ? "Strong signal > -64dBm" : "Weak or no signal < -64dBm" );
TMRh20 marked this conversation as resolved.
Show resolved Hide resolved
* radio.read(0,0);
2bndy5 marked this conversation as resolved.
Show resolved Hide resolved
* }
* @endcode
* @return true if a signal less than or equal to -64dBm was detected,
* @return true if a signal greater than or equal to -64dBm was detected,
* false if not.
*/
bool testRPD(void);
Expand Down