Skip to content

Commit 2c5fc68

Browse files
committed
docs/library/machine.Pin: Mention GPIO and cross-link .value() function.
1 parent 6e2fa52 commit 2c5fc68

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/library/machine.Pin.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
class Pin -- control I/O pins
44
=============================
55

6-
A pin is the basic object to control I/O pins. It has methods to set
6+
A pin is the basic object to control I/O pins (also known as GPIO -
7+
general-purpose input/output). It has methods to set
78
the mode of the pin (input, output, etc) and methods to get and set the
89
digital logic level. For analog control of a pin, see the ADC class.
910

@@ -132,7 +133,7 @@ Methods
132133
.. method:: pin([value])
133134

134135
Pin objects are callable. The call method provides a (fast) shortcut to set and get the value of the pin.
135-
See **pin.value** for more details.
136+
See :func:`pin.value` for more details.
136137

137138
.. method:: pin.alt_list()
138139

0 commit comments

Comments
 (0)