We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64b62dc + 2c7b76a commit 6005b15Copy full SHA for 6005b15
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