Sun, 24 Nov 2019 16:44:00 +0100
Version 0.3.7. The WiFi task uses the new event handlers. Cooling temperature top is now 45 instead of 30 degreees for pitching Kveik. One extra cosmetic message during OTA update.
0 | 1 | #ifndef _TASK_SOUND_H |
2 | #define _TASK_SOUND_H | |
3 | ||
4 | /** | |
5 | * @file task_sound.h | |
4 | 6 | * @brief BrewBoard Sound driver. Uses a simple piezo buzzer. |
0 | 7 | */ |
8 | ||
1
ad2c8b13eb88
Updated lots of doxygen comments
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
9 | /** |
ad2c8b13eb88
Updated lots of doxygen comments
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
10 | * @brief Sound prompt types |
ad2c8b13eb88
Updated lots of doxygen comments
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
11 | */ |
0 | 12 | typedef enum { |
13 | SOUND_StartUp = 0, ///< Startup sound. | |
14 | SOUND_Prompt, ///< Prompt sound | |
15 | SOUND_TempReached, ///< Temperature Reached | |
16 | SOUND_TimeOut, ///< Time out. | |
17 | SOUND_AddHop, ///< Add hop sound | |
18 | SOUND_End, ///< End sound | |
19 | SOUND_Warn, ///< Warning sound | |
20 | } SOUND_TYPE; | |
21 | ||
22 | /** | |
23 | * @brief Play sound | |
24 | * @param id Sound ID | |
25 | */ | |
26 | void SoundPlay(int id); | |
27 | ||
28 | /** | |
29 | * @brief FreeRTOS sound task. | |
30 | */ | |
31 | void task_sound(void *); | |
32 | ||
33 | ||
34 | #endif |