CHanged default data rate to 1MBps and default channel to 100 for better performance
This commit is contained in:
@@ -93,12 +93,6 @@ void setup(void)
|
||||
// optionally, increase the delay between retries & # of retries
|
||||
radio.setRetries(15,15);
|
||||
|
||||
// optionally, use a high channel to avoid WiFi chatter
|
||||
radio.setChannel(110);
|
||||
|
||||
// optionally, increase the CRC length for improved reliability
|
||||
radio.setCRCLength(RF24_CRC_16);
|
||||
|
||||
// optionally, reduce the payload size. seems to
|
||||
// improve reliability
|
||||
radio.setPayloadSize(8);
|
||||
|
||||
@@ -104,12 +104,6 @@ void setup(void)
|
||||
// optionally, increase the delay between retries & # of retries
|
||||
radio.setRetries(15,15);
|
||||
|
||||
// optionally, use a high channel to avoid WiFi chatter
|
||||
radio.setChannel(110);
|
||||
|
||||
// optionally, increase the CRC length for improved reliability
|
||||
radio.setCRCLength(RF24_CRC_16);
|
||||
|
||||
//
|
||||
// Open pipes to other nodes for communication
|
||||
//
|
||||
|
||||
@@ -94,12 +94,6 @@ void setup(void)
|
||||
// We will be using the Ack Payload feature, so please enable it
|
||||
radio.enableAckPayload();
|
||||
|
||||
// Optional: Increase CRC length for improved reliability
|
||||
radio.setCRCLength(RF24_CRC_16);
|
||||
|
||||
// Optional: Pick a high channel
|
||||
radio.setChannel(110);
|
||||
|
||||
//
|
||||
// Open pipes to other nodes for communication
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user