From bc8e454242e92666fab2c58ca662c9b4135be455 Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Sun, 27 Oct 2024 17:37:58 +0100 Subject: [PATCH] Play end of jeopardy theme when switching off --- src/main.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/main.c b/src/main.c index fd8d76b..3f17267 100644 --- a/src/main.c +++ b/src/main.c @@ -317,34 +317,39 @@ static void update_countdown_fsm(uint32_t time_ms) sseg_set_char(0, '#', false); sseg_set_char(1, '#', false); sseg_set_char(2, '#', false); + buzzer_on(3951); break; case 500: sseg_set_char(0, '1', false); - buzzer_on(4000); + break; + + case 750: + buzzer_on(3322); break; case 1000: sseg_set_char(0, ' ', false); - buzzer_on(2828); + buzzer_on(2960); break; case 1500: sseg_set_char(1, '1', false); - buzzer_on(2000); + buzzer_on(2637); break; case 2000: sseg_set_char(1, ' ', false); - buzzer_on(1414); + buzzer_on(2489); break; case 2500: sseg_set_char(2, '1', false); - buzzer_on(1000); + buzzer_on(2217); break; - case 700: + case 200: + case 950: case 1200: case 1700: case 2200: