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.
0 | 1 | /** |
2 | * @file calibration.h | |
3 | * @brief TFT screeen calibration | |
4 | */ | |
5 | #ifndef _CALIBRATION_H | |
6 | #define _CALIBRATION_H | |
7 | ||
8 | ||
9 | /** | |
10 | * @brief Set Touchscreen calibration values. | |
11 | * Values are for the default portrait mode, in this application | |
12 | * the screen is used in landscape mode. | |
13 | * @param xleft X left side (landscape bottom) | |
14 | * @param xright X right side (landscape top) | |
15 | * @param ytop Y top (landscape left) | |
16 | * @param ybottom Y botto (landscape right) | |
1
ad2c8b13eb88
Updated lots of doxygen comments
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
17 | * @return 1 if error, 0 if success. |
0 | 18 | */ |
19 | int TS_set_calibration(int xleft, int xright, int ytop, int ybottom); | |
20 | ||
21 | /** | |
22 | * @brief Initialize for TFT calibration | |
23 | */ | |
24 | void Calibration_Init(void); | |
25 | ||
26 | /** | |
27 | * @brief Do the TFT calibration | |
28 | */ | |
29 | void Calibration_Loop(void); | |
30 | ||
31 | ||
32 | #endif |