Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
PetePriority
firmware
Commits
02770fcb
Verified
Commit
02770fcb
authored
Aug 28, 2019
by
Rahix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
Documentation/pycardium/gpio.rst
Documentation/pycardium/gpio.rst
+7
-1
No files found.
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
Markdown
is supported
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