diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-07 17:49:00 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-07 17:49:00 +0300 |
commit | 2c5fc681c809e6bf871a463f1b20e433a338c4f6 (patch) | |
tree | bc412c408bfe45e2e77fc518a242ca69bca7e884 /docs | |
parent | 6e2fa5237db911b2c8f898c5a2fef2fe56626b93 (diff) | |
download | micropython-2c5fc681c809e6bf871a463f1b20e433a338c4f6.tar.gz micropython-2c5fc681c809e6bf871a463f1b20e433a338c4f6.zip |
docs/library/machine.Pin: Mention GPIO and cross-link .value() function.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/library/machine.Pin.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst index a2e97c87c2..053c6e79b3 100644 --- a/docs/library/machine.Pin.rst +++ b/docs/library/machine.Pin.rst @@ -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() |