Skip to content
Snippets Groups Projects
Commit 6fa830bf authored by Damien George's avatar Damien George
Browse files

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.
parent ddc93463
No related branches found
No related tags found
No related merge requests found
...@@ -235,6 +235,7 @@ not all constants are available on all ports. ...@@ -235,6 +235,7 @@ not all constants are available on all ports.
.. data:: Pin.PULL_UP .. data:: Pin.PULL_UP
Pin.PULL_DOWN Pin.PULL_DOWN
Pin.PULL_HOLD
Selects whether there is a pull up/down resistor. Use the value Selects whether there is a pull up/down resistor. Use the value
``None`` for no pull. ``None`` for no pull.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment