main/automation.h

Sat, 06 Jun 2020 13:28:46 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 06 Jun 2020 13:28:46 +0200
changeset 77
66c77497d86d
parent 1
ad2c8b13eb88
permissions
-rw-r--r--

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.

/**
 * @file automation.h
 * @brief Brew automation.
 */
#ifndef	_AUTOMATION_H
#define	_AUTOMATION_H


/**
 * @brief Automation init fases
 * @return true if should jump to startover.
 */
bool Automation_Init(void);

/**
 * @brief Automation loop screens. Non-blocking (mostly).
 * @return true if should jump to startover.
 */
bool Automation_Loop(void);


#endif

mercurial