We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95fd7b5 commit ac53c29Copy full SHA for ac53c29
doc/reference.rst
@@ -70,7 +70,13 @@ equal to 1023 by default. PWM range may be changed by calling
70
``analogWriteRange(new_range)``.
71
72
PWM frequency is 1kHz by default. Call
73
-``analogWriteFreq(new_frequency)`` to change the frequency.
+``analogWriteFreq(new_frequency)`` to change the frequency. Valid values
74
+are from 100Hz up to 40000Hz.
75
+
76
+The ESP doesn't have hardware PWM, so the implementation is by software.
77
+With one PWM output at 40KHz, the CPU is already rather loaded. The more
78
+PWM outputs used, and the higher their frequency, the closer you get to
79
+the CPU limits, and the less CPU cycles are available for sketch execution.
80
81
Timing and delays
82
-----------------
0 commit comments