main/calibration.h

changeset 0
b74b0e4902c3
child 1
ad2c8b13eb88
equal deleted inserted replaced
-1:000000000000 0:b74b0e4902c3
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)
17 */
18 int TS_set_calibration(int xleft, int xright, int ytop, int ybottom);
19
20 /**
21 * @brief Initialize for TFT calibration
22 */
23 void Calibration_Init(void);
24
25 /**
26 * @brief Do the TFT calibration
27 */
28 void Calibration_Loop(void);
29
30
31 #endif

mercurial