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

Function pressBt01

nRFBox/jammer.cpp:79–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78
79void pressBt01() {
80 static unsigned long last_interrupt_time = 0;
81 unsigned long interrupt_time = millis();
82 if (interrupt_time - last_interrupt_time > 200) {
83 if (channel < 13) {
84 channel++;
85 } else {
86 channel = 0;
87 }
88 }
89 last_interrupt_time = interrupt_time;
90 pixels.setPixelColor(0, pixels.Color(5, 0, 5));
91 pixels.show();
92}
93
94
95void pressBt02() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected