| 77 | |
| 78 | |
| 79 | void 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 | |
| 95 | void pressBt02() { |
nothing calls this directly
no outgoing calls
no test coverage detected