Fri, 30 Jul 2021 16:45:53 +0200
Fixed Hendi ON switch and now the switch moment is in a #define HENDI_SWITCH. Currently set at 6. Fixed the web page when going to boil, two buttons were missing. Changed the PWM log line, added information about the ON switch and current temperature.
#ifndef _TASK_SOUND_H #define _TASK_SOUND_H /** * @file task_sound.h * @brief BrewBoard Sound driver. Uses a simple piezo buzzer. */ /** * @brief Sound prompt types */ typedef enum { SOUND_StartUp = 0, ///< Startup sound. SOUND_Prompt, ///< Prompt sound SOUND_TempReached, ///< Temperature Reached SOUND_TimeOut, ///< Time out. SOUND_AddHop, ///< Add hop sound SOUND_End, ///< End sound SOUND_Warn, ///< Warning sound } SOUND_TYPE; /** * @brief Play sound * @param id Sound ID */ void SoundPlay(int id); /** * @brief FreeRTOS sound task. */ void task_sound(void *); #endif