diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-05-29 20:56:13 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-05-29 20:56:13 +0300 |
commit | d5b8825d5f5c6110f9cf3bd39848cfe94137d291 (patch) | |
tree | 1d7e16e59b7950b04c9de5cfdeafe9df64a002d4 | |
parent | 3496d9e4bd39452484d8a99e991ef7c0a92d5b51 (diff) |
docs/machine.Pin: Add on() and off() methods.
-rw-r--r-- | docs/library/machine.Pin.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst index e7f314154..05ceb4ad3 100644 --- a/docs/library/machine.Pin.rst +++ b/docs/library/machine.Pin.rst @@ -152,6 +152,14 @@ Methods 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. |