Mon, 22 Oct 2018 21:43:45 +0200
Updated esp-ide. Removed VNC server corre encoding because no clients would use it. Enabled WiFi error logmessages. Write runtime record is now debug logging. Removed recipe.Record number, not usefull and was wrong too. Removed console print of json log data.
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 |