|
6 | 6 |
|
7 | 7 | #pragma once
|
8 | 8 |
|
9 |
| -/** |
10 |
| - * Debug configurations |
11 |
| - * |
12 |
| - */ |
| 9 | +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 10 | +///////////////////////////////////////////////// Debug Configurations ///////////////////////////////////////////////// |
| 11 | +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
13 | 12 | /* Set to 1 if assert on error. Otherwise print error message */
|
14 | 13 | #define ESP_PANEL_CHECK_RESULT_ASSERT (0) // 0/1
|
15 | 14 |
|
16 | 15 | /* Set to 1 if print log message for debug */
|
17 | 16 | #define ESP_PANEL_ENABLE_LOG (0) // 0/1
|
18 | 17 |
|
19 |
| -/** |
20 |
| - * Touch driver configurations |
21 |
| - * |
22 |
| - */ |
| 18 | +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 19 | +///////////////////////////////////////////// Touch Driver Configurations ////////////////////////////////////////////// |
| 20 | +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
23 | 21 | /* Maximum point number */
|
24 | 22 | #define ESP_PANEL_TOUCH_MAX_POINTS (5)
|
25 |
| - |
26 | 23 | /* Maximum button number */
|
27 | 24 | #define ESP_PANEL_TOUCH_MAX_BUTTONS (1)
|
28 | 25 |
|
29 |
| -/* Model configurations */ |
30 |
| -// XPT2046 |
| 26 | +/** |
| 27 | + * XPT2046 related |
| 28 | + * |
| 29 | + */ |
31 | 30 | #define ESP_PANEL_TOUCH_XPT2046_Z_THRESHOLD (400) // Minimum Z pressure threshold
|
32 | 31 | /**
|
33 | 32 | * Enable Interrupt (PENIRQ) output, also called Full Power Mode.
|
|
59 | 58 | */
|
60 | 59 | #define ESP_PANEL_TOUCH_XPT2046_ENABLE_LOCKING (0) // 0/1
|
61 | 60 |
|
| 61 | +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 62 | +/////////////////////////////////////////////// File Version /////////////////////////////////////////////////////////// |
| 63 | +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
62 | 64 | /**
|
63 | 65 | * Do not change the following versions, they are used to check if the configurations in this file are compatible with
|
64 | 66 | * the current version of `ESP_Panel_Board_Custom.h` in the library. The detailed rules are as follows:
|
|
72 | 74 | */
|
73 | 75 | #define ESP_PANEL_CONF_FILE_VERSION_MAJOR 0
|
74 | 76 | #define ESP_PANEL_CONF_FILE_VERSION_MINOR 1
|
75 |
| -#define ESP_PANEL_CONF_FILE_VERSION_PATCH 0 |
| 77 | +#define ESP_PANEL_CONF_FILE_VERSION_PATCH 1 |
0 commit comments