We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb63e2 commit da31968Copy full SHA for da31968
tests/validation/touch/touch.ino
@@ -19,10 +19,6 @@ uint8_t TOUCH_GPIOS[] = {4, 2, 15, 13, 12, 14, 27, 33, 32};
19
20
#define NO_TOUCH_GPIO 25
21
22
-#define RELEASED_VALUE 75 //75+ read value to pass test
23
-#define PRESSED_VALUE 20 //20- read value to pass test
24
-#define INTERRUPT_THRESHOLD 40
25
-
26
#elif (CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3)
27
28
#define TEST_TOUCH_CHANNEL (12) //14
@@ -50,7 +46,11 @@ uint8_t TOUCH_GPIOS[] = {2, 3, 4, 5, 6/*, 7, 8, 9, 10, 11, 12 ,13, 14, 15*/};
50
46
#define NO_TOUCH_GPIO 17
51
47
#endif
52
48
53
-#if CONFIG_IDF_TARGET_ESP32S2
49
+#if CONFIG_IDF_TARGET_ESP32
+#define RELEASED_VALUE 75 //75+ read value to pass test
+#define PRESSED_VALUE 20 //20- read value to pass test
+#define INTERRUPT_THRESHOLD 40
+#elif CONFIG_IDF_TARGET_ESP32S2
54
#define RELEASED_VALUE 10000 //10000- read value to pass test
55
#define PRESSED_VALUE 42000 //40000+ read value to pass test
56
#define INTERRUPT_THRESHOLD 30000
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments