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

Function pressBt03

nRFBox_V2/jammer.cpp:149–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void pressBt03() {
150 static unsigned long last_interrupt_time = 0;
151 unsigned long interrupt_time = millis();
152 if (interrupt_time - last_interrupt_time > 200) {
153 dataRateIndex = (dataRateIndex + 1) % 3; // Cycle through data rates
154 setRadioParameters();
155 //Serial.println("Data rate changed");
156 }
157 last_interrupt_time = interrupt_time;
158}
159
160void pressBt04() {
161 static unsigned long last_interrupt_time = 0;

Callers

nothing calls this directly

Calls 1

setRadioParametersFunction · 0.70

Tested by

no test coverage detected