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

Function pressBt02

nRFBox_V2/jammer.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void pressBt02() {
140 static unsigned long last_interrupt_time = 0;
141 unsigned long interrupt_time = millis();
142 if (interrupt_time - last_interrupt_time > 200) {
143 jamming = !jamming;
144 //Serial.println(jamming ? "Jamming started" : "Jamming stopped");
145 }
146 last_interrupt_time = interrupt_time;
147}
148
149void pressBt03() {
150 static unsigned long last_interrupt_time = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected