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

Function handleButton

nRFBox_V2/blackout.cpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58
59void IRAM_ATTR handleButton() {
60 unsigned long currentTime = millis();
61 if (currentTime - lastPressTime > debounceDelay) {
62 ChangeRequested = true;
63 lastPressTime = currentTime;
64 }
65}
66
67void IRAM_ATTR handleButton1() {
68 unsigned long currentTime = millis();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected