docs/library/machine.Pin: Add PULL_HOLD constant to possible pin pulls.

As already mentioned in the docs, not all constants may be available on all
ports, so this is optional to implement.
pull/1/head
Damien George 2019-03-14 07:29:04 +11:00
parent ddc934631c
commit 6fa830bfd8
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ not all constants are available on all ports.
.. data:: Pin.PULL_UP
Pin.PULL_DOWN
Pin.PULL_HOLD
Selects whether there is a pull up/down resistor. Use the value
``None`` for no pull.