Added setRetries()
This commit is contained in:
9
RF24.h
9
RF24.h
@@ -332,6 +332,15 @@ public:
|
||||
*/
|
||||
/**@{*/
|
||||
|
||||
/**
|
||||
* Set the number and delay of retries upon failed submit
|
||||
*
|
||||
* @param delay How long to wait between each retry, in multiples of 250us,
|
||||
* max is 15. 0 means 250us, 15 means 4000us.
|
||||
* @param count How many retries before giving up, max 15
|
||||
*/
|
||||
void setRetries(uint8_t delay, uint8_t count);
|
||||
|
||||
/**
|
||||
* Set RF communication channel
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user