8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7868dde commit f6a5ef0Copy full SHA for f6a5ef0
docs/analog.rst
@@ -40,7 +40,9 @@ Analog Output Restrictions
40
--------------------------
41
42
The PWM generator source clock restricts the legal combinations of
43
-frequency and ranges. For example, at 1MHz only about 6 bits of range
+frequency and ranges.
44
+At a CPU frequency of 133MHz, the 16 bit maximum range decreases by 1 bit for every doubling of the default PWM frequency of 1 kHz.
45
+For example, at 1MHz only about 6 bits of range
46
are possible. When you define an ``analogWriteFreq`` and ``analogWriteRange``
47
that can't be fulfilled by the hardware, the frequency will be preserved
48
but the accuracy (range) will be reduced automatically. Your code will
0 commit comments