Commit c19f07bd authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

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.
parent f06d0839
......@@ -158,15 +158,6 @@ Methods
and get the value of the pin. It is equivalent to Pin.value([x]).
See :meth:`Pin.value` for more details.
.. method:: Pin.toggle()
Toggle the output value of the pin. Equivalent to ``pin.value(not pin.out_value())``.
Returns ``None``.
Not all ports implement this method.
Availability: WiPy.
.. method:: Pin.id()
Get the pin identifier. This may return the ``id`` as specified in the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment