diff --git a/Documentation/pycardium/gpio.rst b/Documentation/pycardium/gpio.rst index 7d17b3fdf3597aba664ebc46feae7f7a41dc62ba..28854d141843ba5d84016b2361aa12052fae18d8 100644 --- a/Documentation/pycardium/gpio.rst +++ b/Documentation/pycardium/gpio.rst @@ -52,7 +52,7 @@ output in your scripts. :returns: Current value of the GPIO pin. If the pin is configured as ADC, the value returned will be between 0 and 1000, representing voltages from - 0V to 3.3V + 0V to 3.3V (:py:data:`gpio.ADC` is only available in 1.9+). .. py:data:: WRISTBAND_1 @@ -81,6 +81,12 @@ output in your scripts. Configures a pin as input. +.. py:data:: ADC + + Configure pin as ADC input. + + .. versionadded: 1.9 + .. py:data:: PULL_UP Enables the internal pull-up resistor of a pin.