• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

main/11-Mar-2024-10981

CMakeLists.txtD11-Mar-2024248 75

README.mdD11-Mar-20241.5 KiB4329

README.md

1| Supported Targets | ESP32-S2 |
2| ----------------- | -------- |
3
4# Touch Element waterproof Example
5
6This example demonstrates how to use the Touch Element library of capacitive Touch Sensor and setup the touch elements with touch element waterproof protection.
7
8## How to use example
9
10### Build and Flash
11
12Build the project and flash it to the board, then run monitor tool to view serial output:
13
14```
15idf.py -p PORT flash monitor
16```
17
18(Replace PORT with the name of the serial port to use.)
19
20(To exit the serial monitor, type ``Ctrl-]``.)
21
22See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.
23
24## Example Output
25
26This example's output maybe could not give a strong feeling to user since the waterproof function works
27automatically and silently inside the Touch Element library
28
29```
30I (331) Touch Element Waterproof Example: Touch Element library install
31I (331) Touch Element Waterproof Example: Touch Element waterproof install
32I (341) Touch Element Waterproof Example: Touch button install
33I (351) Touch Element Waterproof Example: Touch buttons create
34I (3191) Touch Element Waterproof Example: Button[7] Press
35I (4191) Touch Element Waterproof Example: Button[7] LongPress
36I (5191) Touch Element Waterproof Example: Button[7] LongPress
37I (5671) Touch Element Waterproof Example: Button[7] Release
38I (12561) Touch Element Waterproof Example: Button[9] Press
39I (12811) Touch Element Waterproof Example: Button[9] Release
40```
41
42See the README.md file in the upper level 'examples' directory for more information about examples.
43