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

View File

@@ -90,6 +90,12 @@ void setup(void)
radio.begin();
// optionally, increase the delay between retries & # of retries
radio.setRetries(15,15);
// optionally, use a high channel to avoid WiFi chatter
radio.setChannel(110);
//
// Open pipes to other nodes for communication
//
@@ -201,4 +207,4 @@ void loop(void)
}
}
}
// vim:ci sts=2 sw=2 ft=cpp
// vim:cin:ai:sts=2 sw=2 ft=cpp