Added setRetries()

This commit is contained in:
maniacbug
2011-06-28 06:44:41 -07:00
parent 1c6cc96fb7
commit a22906f961
3 changed files with 23 additions and 1 deletions

9
RF24.h
View File

@@ -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
*