diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst index 6d6fb860d3651c99b10f44ff880d80817ebf2d52..21e5323d5b1f9d0393e0a5079bdc0ccf0696b1e8 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.