Update analog.rst (#1756)
Added text about specific dependencies between analogWriteRange and analogWriteFreq
This commit is contained in:
parent
7868ddee42
commit
f6a5ef0f85
1 changed files with 3 additions and 1 deletions
|
|
@ -40,7 +40,9 @@ Analog Output Restrictions
|
|||
--------------------------
|
||||
|
||||
The PWM generator source clock restricts the legal combinations of
|
||||
frequency and ranges. For example, at 1MHz only about 6 bits of range
|
||||
frequency and ranges.
|
||||
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.
|
||||
For example, at 1MHz only about 6 bits of range
|
||||
are possible. When you define an ``analogWriteFreq`` and ``analogWriteRange``
|
||||
that can't be fulfilled by the hardware, the frequency will be preserved
|
||||
but the accuracy (range) will be reduced automatically. Your code will
|
||||
|
|
|
|||
Loading…
Reference in a new issue