From 93eb63c6c3643a2404b447637682059756542c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20M=C3=A1rai?= Date: Fri, 14 Feb 2025 01:15:31 +0100 Subject: [PATCH] Update esp32_dac.rst (#4552) --- components/output/esp32_dac.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/output/esp32_dac.rst b/components/output/esp32_dac.rst index 92d38cc64..da52123b4 100644 --- a/components/output/esp32_dac.rst +++ b/components/output/esp32_dac.rst @@ -10,7 +10,9 @@ converter of the ESP32. Unlike the :doc:`/components/output/ledc`, which can sim signal by using a fast switching frequency, the hardware DAC can output a *real* analog signal with no need for additional filtering. -The DAC spans across two pins, each on its own channel: GPIO25 (Channel 1) and GPIO26 (Channel 2). +The DAC spans across two pins, each on its own channel: + - ESP32: GPIO25 (Channel 0) and GPIO26 (Channel 1). + - ESP32 S2: GPIO17 (Channel 0) and GPIO18 (Channel 1). The output level is a percentage of the board supply voltage (VDD_A) - generally this will be 3.3 V. @@ -41,8 +43,7 @@ The output level is a percentage of the board supply voltage (VDD_A) - generally Configuration variables: ------------------------ -- **pin** (**Required**, :ref:`Pin Schema `): The pin to use DAC on. Only GPIO25 - and GPIO26 are supported. +- **pin** (**Required**, :ref:`Pin Schema `): The pin to use DAC on. See above for valid pin numbers. - **id** (**Required**, :ref:`config-id`): The id to use for this output component. - All other options from :ref:`Output `.