From 6fa830bfd84fe0d4b3f33381ec38bd987c4937dc Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 14 Mar 2019 07:29:04 +1100 Subject: [PATCH] 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. --- docs/library/machine.Pin.rst | 1 + 1 file changed, 1 insertion(+) 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.