Skip to content
Snippets Groups Projects
Verified Commit 02770fcb authored by rahix's avatar rahix
Browse files

docs: Document gpio.ADC for 1.9


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 301fbcc3
No related branches found
No related tags found
No related merge requests found
Pipeline #3640 passed
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment