docs/machine.*: Use proper class case in method headers.

Class designator will be used as is in indexes, so must match actual class
name.
This commit is contained in:
Paul Sokolovsky
2016-06-08 01:33:49 +03:00
parent 93968bd6fb
commit 7d7243f44c
8 changed files with 58 additions and 58 deletions

View File

@@ -32,7 +32,7 @@ Constructors
Methods
-------
.. method:: adc.channel(id, \*, pin)
.. method:: ADC.channel(id, \*, pin)
Create an analog pin. If only channel ID is given, the correct pin will
be selected. Alternatively, only the pin can be passed and the correct
@@ -43,11 +43,11 @@ Methods
apin = adc.channel(pin='GP3')
apin = adc.channel(id=1, pin='GP3')
.. method:: adc.init()
.. method:: ADC.init()
Enable the ADC block.
.. method:: adc.deinit()
.. method:: ADC.deinit()
Disable the ADC block.