Sat, 06 Jun 2020 13:28:46 +0200
Changed the recipe database so that it is expandable, version 2. More mash fields and allow 16 steps. Allow 20 Additions. Removed separate mash steps from the state machine, the steps are moved to the runtime data. There is no fixed step number for mashout anymore. There is no fixed step for mash-in anymore, just use the first step and heat to the infusion temperature. After malt add, switch to the normal step temperature. Implemented decoction steps.
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 |