summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-03-14 07:29:04 +1100
committerDamien George <damien.p.george@gmail.com>2019-03-14 07:29:04 +1100
commit6fa830bfd84fe0d4b3f33381ec38bd987c4937dc (patch)
tree77c4163322cd8bdc161f4c8e4e016022f13f45e2
parentddc934631ca318b41ae2c7cf839936bda0277771 (diff)
downloadmicropython-6fa830bfd84fe0d4b3f33381ec38bd987c4937dc.tar.gz
micropython-6fa830bfd84fe0d4b3f33381ec38bd987c4937dc.zip
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.
-rw-r--r--docs/library/machine.Pin.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst
index a355a6f7ce..5254e163c0 100644
--- a/docs/library/machine.Pin.rst
+++ b/docs/library/machine.Pin.rst
@@ -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.