Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
2c5fc681
Commit
2c5fc681
authored
Jun 07, 2016
by
Paul Sokolovsky
Browse files
docs/library/machine.Pin: Mention GPIO and cross-link .value() function.
parent
6e2fa523
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/library/machine.Pin.rst
View file @
2c5fc681
...
...
@@ -3,7 +3,8 @@
class Pin -- control I/O pins
=============================
A pin is the basic object to control I/O pins. It has methods to set
A pin is the basic object to control I/O pins (also known as GPIO -
general-purpose input/output). It has methods to set
the mode of the pin (input, output, etc) and methods to get and set the
digital logic level. For analog control of a pin, see the ADC class.
...
...
@@ -132,7 +133,7 @@ Methods
.. method:: pin([value])
Pin objects are callable. The call method provides a (fast) shortcut to set and get the value of the pin.
See
**
pin.value
**
for more details.
See
:func:`
pin.value
`
for more details.
.. method:: pin.alt_list()
...
...
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