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

Function configure

nRFBox_V2/jammer.cpp:171–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void configure(RF24 &radio) {
172 radio.begin();
173 radio.openWritingPipe(0xFFFFFFFFFF);
174 radio.setAutoAck(false);
175 radio.stopListening();
176 radio.setRetries(0, 0);
177 radio.setPALevel(RF24_PA_MAX, true);
178 radio.setDataRate(RF24_2MBPS);
179 radio.setCRCLength(RF24_CRC_DISABLED);
180 radio.printPrettyDetails();
181}
182
183void jammerSetup(){
184 Serial.begin(115200);

Callers 1

jammerSetupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected