From 315aa9996c4f1fe89d2e27a2a43307ea21b40816 Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Sun, 9 Oct 2022 14:26:33 +0200 Subject: [PATCH] Update break time and beep freq --- metronom.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metronom.ino b/metronom.ino index e9be3bf..dbf53f7 100644 --- a/metronom.ino +++ b/metronom.ino @@ -3,7 +3,7 @@ const uint BUZZER_PIN = 0; const uint BUTTON_LED_PIN = 5; const uint BUTTON_PIN = 6; -const int BREAK_LENGTH = 300000; +const int BREAK_LENGTH = 240000; const int BREAK_STEP = 2000; volatile int countdown = 0; @@ -26,7 +26,7 @@ void loop() { digitalWrite(BUTTON_LED_PIN, LOW); delay(max(step-BREAK_STEP/2, 0)); } else { - tone(BUZZER_PIN, 1000, 100); + tone(BUZZER_PIN, 300, 100); delay(1000); } }