docs: Update the application examples in cap_touch_sens.rst

This commit is contained in:
shenmengjing 2024-07-09 16:57:09 +08:00
parent 88c45ecf13
commit 5cc184a25e
2 changed files with 4 additions and 8 deletions

View File

@ -447,12 +447,10 @@ Call :cpp:func:`touch_channel_read_data` to read the data with different types.
Application Examples
------------------------
.. only:: esp32p4
- Touch sensor basic example: :example:`peripherals/touch_sensor/touch_sensor_{IDF_TARGET_TOUCH_SENSOR_VERSION}`.
- :example:`peripherals/touch_sensor/touch_sensor_v3` demonstrates how to register touch channels and read the data, including hardware requirements and project configuration instructions.
API Reference
---------------
-------------
.. only:: esp32p4

View File

@ -445,11 +445,9 @@
ESP_ERROR_CHECK(touch_sensor_config_sleep_wakeup(sens_handle, &deep_slp_cfg));
应用示例
----------
--------
.. only:: esp32p4
- 触摸传感器基础例程: :example:`peripherals/touch_sensor/touch_sensor_{IDF_TARGET_TOUCH_SENSOR_VERSION}`.
- :example:`peripherals/touch_sensor/touch_sensor_v3` 演示了如何注册触摸通道并读取数据,并说明了硬件要求及项目配置。
API 参考
----------