Verified Commit 02770fcb authored by Rahix's avatar Rahix
Browse files

docs: Document gpio.ADC for 1.9

Signed-off-by: Rahix's avatarRahix <>
parent 301fbcc3
......@@ -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.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment