summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/machine.Pin.rst
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-09 02:58:15 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-09 02:58:15 +0300
commita0c296f6d515b0a18306213cf64d9580875448f6 (patch)
treee43a0b0db66a505283c5c160900442a0a2b91883 /docs/library/machine.Pin.rst
parent1d3b903eb56ebacf7efe0f7859f56b12c58dfd94 (diff)
downloadmicropython-a0c296f6d515b0a18306213cf64d9580875448f6.tar.gz
micropython-a0c296f6d515b0a18306213cf64d9580875448f6.zip
docs/machine.Pin: Disambiguate object call method.
Diffstat (limited to 'docs/library/machine.Pin.rst')
-rw-r--r--docs/library/machine.Pin.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst
index 6d6fb860d3..21e5323d5b 100644
--- a/docs/library/machine.Pin.rst
+++ b/docs/library/machine.Pin.rst
@@ -130,7 +130,7 @@ Methods
anything that converts to a boolean. If it converts to ``True``, the pin
is set high, otherwise it is set low.
-.. method:: pin([value])
+.. method:: Pin.__call__([value])
Pin objects are callable. The call method provides a (fast) shortcut to set and get the value of the pin.
See :func:`Pin.value` for more details.