diff options
Diffstat (limited to 'docs/library/machine.Pin.rst')
-rw-r--r-- | docs/library/machine.Pin.rst | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst index 2efd84688a..05ceb4ad33 100644 --- a/docs/library/machine.Pin.rst +++ b/docs/library/machine.Pin.rst @@ -146,18 +146,20 @@ Methods When setting the value this method returns ``None``. -.. method:: Pin.out_value() - - Return the value stored in the output buffer of a pin, regardless of its mode. - - Not all ports implement this method. - .. method:: Pin.__call__([x]) Pin objects are callable. The call method provides a (fast) shortcut to set and get the value of the pin. It is equivalent to Pin.value([x]). See :meth:`Pin.value` for more details. +.. method:: Pin.on() + + Set pin to "1" output level. + +.. method:: Pin.off() + + Set pin to "0" output level. + .. method:: Pin.mode([mode]) Get or set the pin mode. |