| 122 | } |
| 123 | |
| 124 | void pressBt01() { |
| 125 | static unsigned long last_interrupt_time = 0; |
| 126 | unsigned long interrupt_time = millis(); |
| 127 | if (interrupt_time - last_interrupt_time > 200) { |
| 128 | if (channels < 14) { |
| 129 | channels++; |
| 130 | } else { |
| 131 | channels = 1; |
| 132 | } |
| 133 | //Serial.print("Channel: "); |
| 134 | //Serial.println(channels); |
| 135 | } |
| 136 | last_interrupt_time = interrupt_time; |
| 137 | } |
| 138 | |
| 139 | void pressBt02() { |
| 140 | static unsigned long last_interrupt_time = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected