Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Haun
firmware
Commits
02770fcb
Verified
Commit
02770fcb
authored
Aug 28, 2019
by
Rahix
Browse files
docs: Document gpio.ADC for 1.9
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
301fbcc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Documentation/pycardium/gpio.rst
View file @
02770fcb
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment