File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed libraries/ESP32/examples/Timer/RepeatTimer
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -33,7 +33,7 @@ void setup() {
|
33 | 33 | Serial.begin(115200);
|
34 | 34 |
|
35 | 35 | // Set BTN_STOP_ALARM to input mode
|
36 |
| -pinMode(BTN_STOP_ALARM, INPUT); |
| 36 | +pinMode(BTN_STOP_ALARM, INPUT_PULLUP); |
37 | 37 |
|
38 | 38 | // Create semaphore to inform us when the timer has fired
|
39 | 39 | timerSemaphore = xSemaphoreCreateBinary();
|
|
You can’t perform that action at this time.
0 commit comments