We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4db7a30 commit d6e6c2fCopy full SHA for d6e6c2f
doc/reference.rst
@@ -109,6 +109,9 @@ PWM range may be changed by calling ``analogWriteRange(new_range)`` or
109
``analogWriteResolution(bits)``. ``new_range`` may be from 15...65535
110
or ``bits`` may be from 4...16.
111
112
+The function ``analogWriteMode(pin, value, openDrain)`` allows to sets
113
+the pin mode to ``OUTPUT_OPEN_DRAIN`` instead of ``OUTPUT``.
114
+
115
**NOTE:** The default ``analogWrite`` range was 1023 in releases before
116
3.0, but this lead to incompatibility with external libraries which
117
depended on the Arduino core default of 256. Existing applications which
0 commit comments