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.
This commit is contained in:
Damien George 2019-03-14 07:29:04 +11:00
parent ddc934631c
commit 6fa830bfd8

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.