Skip to content

Commit bb25428

Browse files
committed
minor docs updates
1 parent f84db04 commit bb25428

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/source/api/ledc.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ESP32-S2 8
1717
ESP32-S3 8
1818
ESP32-C3 6
1919
ESP32-C6 6
20+
ESP32-H2 6
2021
========= =======================
2122

2223
Arduino-ESP32 LEDC API
@@ -125,10 +126,13 @@ This function is used to detach the pin from LEDC.
125126

126127
.. code-block:: arduino
127128
128-
void ledcDetach(uint8_t pin);
129+
bool ledcDetach(uint8_t pin);
129130
130131
* ``pin`` select LEDC pin.
131132

133+
This function will return ``true`` if detaching is successful.
134+
If ``false`` is returned, error occurs and pin is not detached.
135+
132136
ledcChangeFrequency
133137
*******************
134138

docs/source/api/timer.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ ESP32 SoC Number of timers
1414
========= ================
1515
ESP32 4
1616
ESP32-S2 4
17-
ESP32-C3 2
1817
ESP32-S3 4
18+
ESP32-C3 2
19+
ESP32-C6 2
20+
ESP32-H2 2
1921
========= ================
2022

2123
Arduino-ESP32 Timer API

0 commit comments

Comments
 (0)