-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional write timeout/failure handling
Per issue #5 by sven337 - Add optional failure handling/timeout - Un-comment #define FAILURE_HANDLING in RF24_config.h to enable - Add radio.errorDetected variable - indicates if an error/timeout was detected example: if(radio.failureDetected){ delay(1000); radio.begin(); radio.failureDetected = 0; radio.openWritingPipe(addresses[1]); radio.openReadingPipe(1,addresses[0]); report_failure(); //blink leds, send a message, etc. } Additional: - removed unused wide_band boolean - remove rx buffer flushes for RPi also
- Loading branch information
Showing
6 changed files
with
208 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.