mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
docs: Update the application examples in cap_touch_sens.rst
This commit is contained in:
@@ -447,12 +447,10 @@ Call :cpp:func:`touch_channel_read_data` to read the data with different types.
|
|||||||
Application Examples
|
Application Examples
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
.. only:: esp32p4
|
- :example:`peripherals/touch_sensor/touch_sensor_v3` demonstrates how to register touch channels and read the data, including hardware requirements and project configuration instructions.
|
||||||
|
|
||||||
- Touch sensor basic example: :example:`peripherals/touch_sensor/touch_sensor_{IDF_TARGET_TOUCH_SENSOR_VERSION}`.
|
|
||||||
|
|
||||||
API Reference
|
API Reference
|
||||||
---------------
|
-------------
|
||||||
|
|
||||||
.. only:: esp32p4
|
.. only:: esp32p4
|
||||||
|
|
||||||
|
@@ -445,11 +445,9 @@
|
|||||||
ESP_ERROR_CHECK(touch_sensor_config_sleep_wakeup(sens_handle, &deep_slp_cfg));
|
ESP_ERROR_CHECK(touch_sensor_config_sleep_wakeup(sens_handle, &deep_slp_cfg));
|
||||||
|
|
||||||
应用示例
|
应用示例
|
||||||
----------
|
--------
|
||||||
|
|
||||||
.. only:: esp32p4
|
- :example:`peripherals/touch_sensor/touch_sensor_v3` 演示了如何注册触摸通道并读取数据,并说明了硬件要求及项目配置。
|
||||||
|
|
||||||
- 触摸传感器基础例程: :example:`peripherals/touch_sensor/touch_sensor_{IDF_TARGET_TOUCH_SENSOR_VERSION}`.
|
|
||||||
|
|
||||||
API 参考
|
API 参考
|
||||||
----------
|
----------
|
||||||
|
Reference in New Issue
Block a user