MCPcopy Create free account
hub / github.com/cifertech/nRFBox / configure

Function configure

VScode Platformio/src/jammer.cpp:157–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void configure(RF24 &radio) {
158 radio.begin();
159 radio.openWritingPipe(0xFFFFFFFFFF);
160 radio.setAutoAck(false);
161 radio.stopListening();
162 radio.setRetries(0, 0);
163 radio.setPALevel(RF24_PA_MAX, true);
164 radio.setDataRate(RF24_2MBPS);
165 radio.setCRCLength(RF24_CRC_DISABLED);
166 radio.printPrettyDetails();
167}
168
169void jammerSetup(){
170 Serial.begin(115200);

Callers 1

jammerSetupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected