Sun, 24 Nov 2019 16:44:00 +0100
Version 0.3.7. The WiFi task uses the new event handlers. Cooling temperature top is now 45 instead of 30 degreees for pitching Kveik. One extra cosmetic message during OTA update.
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 |