Skip to content

Commit c19f07b

Browse files
committed
docs/machine.Pin: There's no toggle() method in MicroPython hardware API.
May be a port-specific method, not portable, not part of the official specification.
1 parent f06d083 commit c19f07b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

docs/library/machine.Pin.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,6 @@ Methods
158158
and get the value of the pin. It is equivalent to Pin.value([x]).
159159
See :meth:`Pin.value` for more details.
160160

161-
.. method:: Pin.toggle()
162-
163-
Toggle the output value of the pin. Equivalent to ``pin.value(not pin.out_value())``.
164-
Returns ``None``.
165-
166-
Not all ports implement this method.
167-
168-
Availability: WiPy.
169-
170161
.. method:: Pin.id()
171162

172163
Get the pin identifier. This may return the ``id`` as specified in the

0 commit comments

Comments
 (0)