mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user