Browse Source

docs/machine.Pin: Add on() and off() methods.

pull/3017/head
Paul Sokolovsky 8 years ago
parent
commit
d5b8825d5f
  1. 8
      docs/library/machine.Pin.rst

8
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.

Loading…
Cancel
Save