We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 926c043 + 6005b15 commit a207d58Copy full SHA for a207d58
libraries/ESP32/examples/Timer/RepeatTimer/RepeatTimer.ino
@@ -33,7 +33,7 @@ void setup() {
33
Serial.begin(115200);
34
35
// Set BTN_STOP_ALARM to input mode
36
- pinMode(BTN_STOP_ALARM, INPUT);
+ pinMode(BTN_STOP_ALARM, INPUT_PULLUP);
37
38
// Create semaphore to inform us when the timer has fired
39
timerSemaphore = xSemaphoreCreateBinary();
0 commit comments