File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void setup() {
3333
Serial.begin(115200);
3434

3535
// Set BTN_STOP_ALARM to input mode
36-
pinMode(BTN_STOP_ALARM, INPUT);
36+
pinMode(BTN_STOP_ALARM, INPUT_PULLUP);
3737

3838
// Create semaphore to inform us when the timer has fired
3939
timerSemaphore = xSemaphoreCreateBinary();

0 commit comments

Comments
 (0)