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.
#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