Skip to content

Commit

Permalink
Merge branch 'docs/update_examples_in_cap_touch_sens' into 'master'
Browse files Browse the repository at this point in the history
docs: Update the application examples in cap_touch_sens.rst

Closes DOC-8328

See merge request espressif/esp-idf!32005
  • Loading branch information
Shen765 committed Aug 6, 2024
2 parents a6b6851 + 5cc184a commit 524d6b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions docs/en/api-reference/peripherals/cap_touch_sens.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 2 additions & 4 deletions docs/zh_CN/api-reference/peripherals/cap_touch_sens.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 参考
----------
Expand Down

0 comments on commit 524d6b1

Please sign in to comment.