Sat, 20 Oct 2018 13:23:15 +0200
Initial checkin brewboard
#ifndef _TASK_SOUND_H #define _TASK_SOUND_H /** * @file task_sound.h * @brief Sound player using the ESP32 internal DAC port. */ 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