summaryrefslogtreecommitdiff
path: root/docs/library/pyb.ADC.rst
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-08 16:21:28 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-08 16:21:28 +0300
commita384a5313013d8ffda4db0e509cf798a080b3526 (patch)
treec1b87be77f0a3a68fc5a55880bf9de8af3b90b87 /docs/library/pyb.ADC.rst
parent585aafc27eb7fa8fe660e3eeaa29bf8d7ab99213 (diff)
docs/pyb.*: Use proper class case in method headers.
Class designator will be used as is in indexes, so must match actual class name.
Diffstat (limited to 'docs/library/pyb.ADC.rst')
-rw-r--r--docs/library/pyb.ADC.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/pyb.ADC.rst b/docs/library/pyb.ADC.rst
index e75efae7b..2ffd4e16f 100644
--- a/docs/library/pyb.ADC.rst
+++ b/docs/library/pyb.ADC.rst
@@ -36,12 +36,12 @@ Methods
.. only:: port_pyboard
- .. method:: adc.read()
+ .. method:: ADC.read()
Read the value on the analog pin and return it. The returned value
will be between 0 and 4095.
- .. method:: adc.read_timed(buf, timer)
+ .. method:: ADC.read_timed(buf, timer)
Read analog values into ``buf`` at a rate set by the ``timer`` object.