summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-05-14 22:52:16 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-05-14 22:52:16 +0300
commitc19f07bd52aeb59ac8bdfa1e575e2323f6a14c6e (patch)
tree519b370cfa6ed1e3087b98ef111fd2773413362a
parentf06d0839bdaff783d8902bcedb572cbaabb6447a (diff)
downloadmicropython-c19f07bd52aeb59ac8bdfa1e575e2323f6a14c6e.tar.gz
micropython-c19f07bd52aeb59ac8bdfa1e575e2323f6a14c6e.zip
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.
-rw-r--r--docs/library/machine.Pin.rst9
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst
index 369c08f443..6d6ba7bfd9 100644
--- a/docs/library/machine.Pin.rst
+++ b/docs/library/machine.Pin.rst
@@ -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