aboutsummaryrefslogtreecommitdiff
path: root/docs/library/machine.ADC.rst
diff options
context:
space:
mode:
authorPaul Sokolovsky2016-06-09 03:03:53 +0300
committerPaul Sokolovsky2016-06-09 03:03:53 +0300
commit79b40d11276b2b70b2eaa2fe0cac4d3d830c19e4 (patch)
tree6fac3aa3d59301d621896e7597bfbd12d810c43c /docs/library/machine.ADC.rst
parenta0c296f6d515b0a18306213cf64d9580875448f6 (diff)
docs/machine*: Remove explicit targets and "machine." prefixes on classes.
With currentmodule:: set properly, none are needed. Extra "machine." prefix produces wrong indexing data.
Diffstat (limited to 'docs/library/machine.ADC.rst')
-rw-r--r--docs/library/machine.ADC.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/library/machine.ADC.rst b/docs/library/machine.ADC.rst
index 11381e98b..2752878ff 100644
--- a/docs/library/machine.ADC.rst
+++ b/docs/library/machine.ADC.rst
@@ -1,5 +1,4 @@
.. currentmodule:: machine
-.. _machine.ADC:
class ADC -- analog to digital conversion
=========================================
@@ -15,7 +14,7 @@ Usage::
Constructors
------------
-.. class:: machine.ADC(id=0, \*, bits=12)
+.. class:: ADC(id=0, \*, bits=12)
Create an ADC object associated with the given pin.
This allows you to then read analog values on that pin.